Capitalize Every Word of String

Usage

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

Arguments

text
A 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.

Description

Capitalizes every word of a string.

Details

This capitalizes every word of a string.

Warning

Ligatures parsing is very good, however, these elements may be incorrect. If a warning is thrown check the use of "ff", "fi", "fl", "ffi" and "ffl".

Examples

CA("the flexible, efficient way to do reports.")
[1] "The Flexible, Efficient Way To Do Reports."