firstCAPS: Convert the First Letter to Uppercase

Description Usage Arguments Examples

Description

Convert the first letter to uppercase.

Usage

1
firstCAPS(x, ignore = NULL, lower = NULL)

Arguments

x

String

ignore

ignored words.

lower

always lowercase.

Examples

1
2
3
4
5
## Not run: 
x = "The house of alice, AM"
firstCAPS(y, ignore = c("AM"), lower = c("of"))

## End(Not run)

salah31416/toolbox documentation built on June 3, 2019, 6:59 p.m.