Convert text to lower or upper case.

lowerCase(x)
upperCase(x)

Arguments

x

a character string.

Value

a character string coerced to the specified case.

See also

Examples

x <- "A dog and a cat"
lowerCase(x)
#> [1] "a dog and a cat"
upperCase(x)
#> [1] "A DOG AND A CAT"