Skip to contents

A function converting a string to all lowercase

Usage

sf_tolower(x)

Arguments

x

A character vector

Value

A stringfish vector where all uppercase is converted to lowercase

Details

Note: the function only converts ASCII characters.

See also

tolower

Examples

if(getRversion() >= "3.5.0") {
x <- LETTERS
sf_tolower(x)
}
#>  [1] "a" "b" "c" "d" "e" "f" "g" "h" "i" "j" "k" "l" "m" "n" "o" "p" "q" "r" "s"
#> [20] "t" "u" "v" "w" "x" "y" "z"