strs_casefold: Perform case folding on strings

View source: R/casefold.R

strs_casefoldR 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")

strs documentation built on Sept. 11, 2024, 6:44 p.m.