Skip to contents

Convert sentence to upper case to capital words

Adapted from the base R toupper() function help page.

Usage

title_case(x)

Arguments

x

Character string.

Value

A character string.

Examples

title_case("this will be converted to upper case")
#> [1] "This Will Be Converted To Upper Case"
# [1] "This Will Be Converted To Upper Case"