Learn R Programming

CME.assistant (version 1.1.4)

upper.first.letter: Capitalize first letter of each word in the vector

Description

Capitalize first letter of each word in the vector

Usage

upper.first.letter(y)

Arguments

y

vector of strings

Value

a vector of strings with first letter capitalized

Examples

Run this code
# NOT RUN {
upper.first.letter(c("aa","bb","cc"))
# }

Run the code above in your browser using DataLab