Learn R Programming

strs (version 0.1.0)

strs_casefold: 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)

Value

A character vector of the same length as string, where each element has been case-folded.

Arguments

string

A character vector where each element is a string to be case-folded.

See Also

Examples

Run this code
strs_casefold("HELLO World")
strs_casefold("Äpfel")

Run the code above in your browser using DataLab