Learn R Programming

splus2R (version 1.2-1)

lowerCase: Case conversion

Description

Convert text to lower or upper case.

Usage

lowerCase(x) upperCase(x)

Arguments

x
a character string.

Value

a character string coerced to the specified case.

See Also

casefold, tolower, toupper.

Examples

Run this code
x <- "A dog and a cat"
lowerCase(x)
upperCase(x)

Run the code above in your browser using DataLab