dog <- "The quick brown dog"
str_to_upper(dog)
str_to_lower(dog)
str_to_title(dog)
str_to_sentence("the quick brown dog")
# Locale matters!
str_to_upper("i") # English
str_to_upper("i", "tr") # Turkish
Run the code above in your browser using DataLab