capitalize

0th

Percentile

capitalize the first letter of a string

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

Keywords
character , manip
Usage
capitalize(string)
Arguments
string

String to be capitalized

Value

Returns a vector of charaters with the first letter capitalized

Aliases
  • capitalize
Examples
# NOT RUN {
capitalize(c("Hello", "bob", "daN"))
# }
Documentation reproduced from package Hmisc, version 4.1-1, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.