capitalize: Capitalize the first letter in a string

Description Usage Arguments Examples

View source: R/capitalize.R

Description

Like toupper, but only for the first letter of a string.

Usage

1

Arguments

x

a character vector of any length

Examples

1
capitalize("ben")

bstaton1/StatonMisc documentation built on May 18, 2020, 12:06 a.m.