Movatterモバイル変換


[0]ホーム

URL:


Skip to contents

Perform case folding on strings

Source:R/casefold.R
strs_casefold.Rd

strs_casefold is used to perform case folding on each element of acharacter vector. This function is particularly useful for case-insensitivestring matching and is similar to Python'sstr.casefold() method.

Usage

strs_casefold(string)

Arguments

string

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

Value

A character vector of the same length asstring, where each elementhas been case-folded.

See also

Python str.casefold() documentation

Examples

strs_casefold("HELLO World")#> [1] "hello world"strs_casefold("Äpfel")#> [1] "äpfel"

[8]ページ先頭

©2009-2025 Movatter.jp