Description Usage Arguments Value Author(s) Examples
View source: R/capitalize-each-word.R
This function capitalizes the first letter of each word in a string to uppercase
1 | capitalize_each_word(string, pattern = NULL)
|
string |
A string object or a vector of string objects with or without . or _ or space delimiters |
pattern |
A regular expression pattern to split the string with. Default delimiter is space. |
A string with first letter of each word capitalized
Som Bohora
1 2 3 | capitalize_each_word("make each letter in this string capitalized.", pattern = NULL)
capitalize_each_word("make_each _etter_in_this_string_capitalized.", pattern = "[_]")
capitalize_each_word("make.each.letter.in.this.string.capitalized.", pattern = "[.]")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.