Skip to contents

A function converting a string to all uppercase

Usage

sf_toupper(x)

Arguments

x

A character vector

Value

A stringfish vector where all lowercase is converted to uppercase

Details

Note: the function only converts ASCII characters.

See also

toupper

Examples

if(getRversion() >= "3.5.0") {
x <- letters
sf_toupper(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"