CA: Capitalize Every Word of String

Description Usage Arguments Details Value Warning Examples

View source: R/CA.R

Description

Capitalizes every word of a string.

Usage

1
  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.

Details

This capitalizes every word of a string.

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".

Examples

1
CA("the flexible, efficient way to do reports.")

reports documentation built on May 2, 2019, 8:29 a.m.