Learn R Programming

berryFunctions (version 1.11.0)

toupper1: capitalize words

Description

capitalizes the first letter of character strings using toupper

Usage

toupper1(x)

Arguments

x
Character vector

Value

character string vector

Details

Basically just a one-liner using toupper

See Also

toupper, substr

Examples

Run this code
toupper1("berry")
toupper1(c("berRy","likes to code"))

Run the code above in your browser using DataLab