powered by
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
str.title()
strs_title(string, locale = "en")
A character vector of the same length as string, with each element converted to title case.
string
A character vector to be converted to title case.
A character string representing the locale to be used for the conversion.
Python str.title() documentation
strs_title("hello world") strs_title("guten tag", locale = "de")
Run the code above in your browser using DataLab