title_case: Convert string to title case

Description Usage Arguments Value Examples

View source: R/misc.R

Description

Capitalize the first letter of each word, and convert the remaining string to lower case.

Usage

1
title_case(string)

Arguments

string

String to modify.

Value

A character string with the first letter of each word capitalized.

Examples

1
2
3
title_case("taylor swift")
title_case("Taylor Swift")
title_case("TAYLOR SWIFT")

taylor documentation built on Sept. 24, 2021, 1:06 a.m.