strcap {tmcn} | R Documentation |
To capitalize every first letter of a word.
strcap(string, strict = FALSE)
string |
A character vector. |
strict |
Whether strict. |
A character vector with the first letter of each word capitalized.
Jian Li <rweibo@sina.com>
strcap("the quick red fox jumps over the lazy brown dog")