firstup: Capitalize the first letter in strings

View source: R/strings.R

firstupR Documentation

Capitalize the first letter in strings

Description

Capitalize the first letter in strings

Usage

firstup(x)

Arguments

x

A vector of strings

Value

the same vector back, with the first letter capitalized for each vector element

Examples

library(gfutilities)
firstup("hello")
firstup(c("hello", "world"))

pbs-assess/gfutilities documentation built on Sept. 18, 2023, 7:57 a.m.