Learn R Programming

stringfish (version 0.16.0)

sf_toupper: sf_toupper

Description

A function converting a string to all uppercase

Usage

sf_toupper(x)

Value

A stringfish vector where all lowercase is converted to uppercase

Arguments

x

A character vector

Details

Note: the function only converts ASCII characters.

See Also

toupper

Examples

Run this code
if(getRversion() >= "3.5.0") {
x <- letters
sf_toupper(x)
}

Run the code above in your browser using DataLab