capitalize function

capitalize the first letter of a string

capitalize the first letter of a string

Capitalizes the first letter of each element of the string vector.

capitalize(string)

Arguments

  • string: String to be capitalized

Returns

Returns a vector of charaters with the first letter capitalized

Author(s)

Charles Dupont

Examples

capitalize(c("Hello", "bob", "daN"))