xU: Text Processing: Capitalize First Letter of a Word

View source: R/xU.R

xUR Documentation

Text Processing: Capitalize First Letter of a Word

Description

Capitalize the first letter of a word. Primarily for internal use in text processing of knitr output. Not usually referenced by the user.

Usage

xU(x)

Arguments

x

The character string (word) for which to capitalize the first letter.

Details

Input is a single word. Output is the word with its first letter capitalized.

Author(s)

David W. Gerbing (Portland State University; gerbing@pdx.edu)

Examples

xU("the")

lessR documentation built on Nov. 12, 2023, 1:08 a.m.