powered by
Capitalizes the first letter of each element of the string vector.
capitalize(string)
Returns a vector of charaters with the first letter capitalized
String to be capitalized
Charles Dupont
capitalize(c("Hello", "bob", "daN"))
Run the code above in your browser using DataLab