reports (version 0.1.4)

CA: Capitalize Every Word of String

Description

Capitalizes every word of a string.

Usage

CA(text = "clipboard", copy2clip = TRUE)

Arguments

text
character vector or text copied to the clipboard. Default is to read from the clipboard.
copy2clip
logical. If TRUE attempts to copy the output to the clipboard.

Value

Returns a character vector every word capitalized.

Warning

Ligatures are assumed to be "fi", however, these elements may be "ff", "fi", "fl", "ffi" or "ffl".

Details

This capitalizes every word of a string.

Examples

Run this code
CA("the flexible, efficient way to do reports.")

Run the code above in your browser using DataLab