capIt: Capitalize first letter of a string

Description Usage Arguments Value See Also Examples

View source: R/capIt.r

Description

This function capitalizes the first letter of a string or the first letters of a list of strings.

Usage

1
capIt(x)

Arguments

x

Character or character list.

Value

Character or character list.

See Also

toupper, tolower,

Examples

1
2
x <- c('shots', 'were', 'exchanged at the ', 'hospital.')
capIt(x)

adamlilith/omnibus documentation built on Nov. 21, 2018, 11:01 a.m.