Description Usage Arguments Value Examples
Coerces everything to lower case, then capitalizes the first word and every word after that isn't 2-3 letter commonly lowercase word.
"in", "is","on", "at", "to", "from", "by","and", "but", "or", "for", "nor", "a", "an" all kept lowercase by default, additional words can be supplied with noCaps argument
1 | str_sentence(string, noCaps = NULL)
|
string |
string to put in sentence form |
noCaps |
Additional Words to not capitalize |
Character String with proper capitalization
1 2 | string = "HelLO, thIS IS A SEnTance oF SpONgEBoB mOcKInG yOu"
str_sentense(string)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.