strs_title | R Documentation |
strs_title
converts each element of a character vector to title case, based
on the specified locale. It is similar to Python's str.title()
method.
strs_title(string, locale = "en")
string |
A character vector to be converted to title case. |
locale |
A character string representing the locale to be used for the conversion. |
A character vector of the same length as string
, with each element
converted to title case.
Python str.title() documentation
strs_title("hello world")
strs_title("guten tag", locale = "de")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.