View source: R/string-manipulation.R
make_capital_letters | R Documentation |
Splits the string in single words by the
regex specified in split.by
and capitalizes every
resulting word which are eventually collapsed with the
string specified in collapse.with
.
make_capital_letters(
string,
split.by = "_",
collapse.with = " ",
capital.letters = TRUE
)
string |
Character value. |
split.by |
Character value. Specfies the regex by which the words of the specified string are split. |
collapse.with |
Character value or |
capital.letters |
Logical. If set to FALSE capitalization is skipped. |
A more aesthetically pleasing version of the input.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.