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

if (FALSE) { # \dontrun{
title_case("this will be converted to upper case")
# [1] "This Will Be Converted To Upper Case"
} # }