capitalize: capitalize the first letter of a string

Description Usage Arguments Value Author(s) Examples

View source: R/capitalize.s

Description

Capitalizes the first letter of each element of the string vector.

Usage

1
capitalize(string)

Arguments

string

String to be capitalized

Value

Returns a vector of charaters with the first letter capitalized

Author(s)

Charles Dupont

Examples

1
capitalize(c("Hello", "bob", "daN"))

harrelfe/Hmisc documentation built on Oct. 3, 2019, 9:34 p.m.