str_to_firstup: Capitalize the first character of a string

View source: R/str_to_firstup.R

str_to_firstupR Documentation

Capitalize the first character of a string

Description

Capitalize the first character of a string without altering case of any other character.

Usage

str_to_firstup(string)

Arguments

string

String to modify

Examples

str_to_firstup("age at death")
str_to_firstup("baseline BMI")
c("age at death", "baseline BMI") %>% str_to_firstup()

overdodactyl/mRclwhip documentation built on June 30, 2023, 6:24 a.m.