Learn R Programming

ribiosUtils (version 1.7.7)

firstUp: Make the first alphabet of strings uppercase

Description

Make the first alphabet of strings uppercase

Usage

firstUp(str)

Value

A vector of the same length, with the first alphabet in uppercase

Arguments

str

A vector of character strings

See Also

Examples

Run this code
firstUp('test string')
firstUp(strsplit('many many years ago', ' ')[[1]])

Run the code above in your browser using DataLab