to_titlecase: Convert a word or phrase to Title Case

View source: R/utils.R

to_titlecaseR Documentation

Convert a word or phrase to Title Case

Description

Convert a word or phrase to Title Case

Usage

to_titlecase(x)

Arguments

x

character string

Value

A character string: x in Title Case

Examples

x <- "hello world"
to_titlecase(x)

x <- "HELLO WORLD"
to_titlecase(x)

x <- "heLLo WoRLd"
to_titlecase(x)

bcgov/envreportutils documentation built on Feb. 1, 2024, 8:48 p.m.