first_up: Change the first letter of a string to capital

View source: R/first_up.R

first_upR Documentation

Change the first letter of a string to capital

Description

Doesn't alter the capitalisation of any other characters, just the first one.

Usage

first_up(string)

Arguments

string

Character vector.

Value

Character vector with first character upper case.

Examples

first_up("string")
first_up(c("string", "another string"))
first_up(c("1 string", "another string", "Yet another string"))

Acanthiza/envFunc documentation built on Aug. 19, 2024, 4:50 a.m.