Learn R Programming

textutils (version 0.4-1)

title_case: Remove Leading and Trailing White Space

Description

Remove leading and/or trailing white space from character vectors.

Usage

title_case(s, strict = FALSE, ignore = NULL)

Value

a character vector

Arguments

s

a character vector

strict

logical: if TRUE, only the first letter of each word is uppercase

ignore

character

Author

Enrico Schumann

Details

Set string in title case.

See Also

Examples

Run this code
title_case("text mining")

Run the code above in your browser using DataLab