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