R/capitalize.R
capitalize.Rd
Takes a character vector and changes the first letter of each element to uppercase.
capitalize(str)
(character()).
character()
Character vector, same length as str.
str
capitalize("foo bar") #> [1] "Foo bar"