strs_swapcase | R Documentation |
strs_swapcase
returns a copy of the string with uppercase characters convert
to lowercase and visa-versa. It is similar to Python's str.swapcase()
.
strs_swapcase(string)
string |
A character vector where each element is a string. |
A character vector of the same length as string
, with specified
uppercase characters converted to lowercase and visa-versa.
Python str.swapcase() documentation
strs_swapcase("Hello World")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.