totitle: Convert Text to Title Case

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Convert text to title case. I.e., capitalize each word. If strict is TRUE, force subsequent letters in each word to be lower case.

Usage

1
2
totitle(x, strict = FALSE)
titleCase(x, strict = TRUE,...)

Arguments

x

character

strict

Shall non-first letters of words be coerced to lower case?

...

ignored

Details

The code for totitle is borrowed from the R help for toupper (capword).

Value

character

Author(s)

Tim Bergsma

References

http://metrumrg.googlecode.com

See Also

Examples

1
titleCase('THETA1')	

metrumrg documentation built on May 2, 2019, 5:55 p.m.