R/swapcase.R
strs_swapcase.Rd
strs_swapcase returns a copy of the string with uppercase characters convertto lowercase and visa-versa. It is similar to Python'sstr.swapcase().
strs_swapcase
str.swapcase()
strs_swapcase(string)
A character vector where each element is a string.
A character vector of the same length asstring, with specifieduppercase characters converted to lowercase and visa-versa.
string
Python str.swapcase() documentation
strs_swapcase("Hello World")#> [1] "hELLO World"