upper_first_char: Change first character of string to upper case

Description Usage Arguments Value

View source: R/misc.R

Description

Change first character of string to upper case

Usage

1
upper_first_char(x, rest_to_lower = FALSE)

Arguments

x

string to modify

rest_to_lower

boolean; if TRUE, changes all other characters to lower case

Value

returns x with the first character changed to upper-case


baruuum/btoolbox documentation built on Aug. 17, 2020, 1:29 a.m.