R/misc.R
ucfirst.Rd
Capitalizes the first character is a string. Not particularly robust. Copied over from Perl code.
ucfirst(str)
a string.
The same string with the first letter capitalized.
ucfirst("foo bar") #> [1] "Foo bar"