strs_casefold {strs} | R Documentation |
Perform case folding on strings
Description
strs_casefold
is used to perform case folding on each element of a
character vector. This function is particularly useful for case-insensitive
string matching and is similar to Python's str.casefold()
method.
Usage
strs_casefold(string)
Arguments
string |
A character vector where each element is a string to be case-folded. |
Value
A character vector of the same length as string
, where each element
has been case-folded.
See Also
Python str.casefold() documentation
Examples
strs_casefold("HELLO World")
strs_casefold("Äpfel")
[Package strs version 0.1.0 Index]