capitalize {Hmisc} | R Documentation |
Capitalizes the first letter of each element of the string vector.
capitalize(string)
string |
String to be capitalized |
Returns a vector of charaters with the first letter capitalized
Charles Dupont
capitalize(c("Hello", "bob", "daN"))