strs_upper | R Documentation |
strs_upper
converts each element of a character vector to uppercase, based
on the specified locale. It is similar to Python's str.upper()
method.
strs_upper(string, locale = "en")
string |
A character vector to be converted to uppercase. |
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 uppercase.
Python str.upper() documentation
strs_upper("hello world")
strs_upper("Àpfel", locale = "de")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.