Skip to contents

Capitalise Words

Usage

capwords(s, strict = FALSE)

Arguments

s

character string containing words to be captalised

strict

whether to capitalise all words or not

Value

a character string whose words are now capitalised

See also

Other Utility functions: %nin%(), named_group_split(), rm_inf_na(), subset_fns_Zr(), subset_fns_yi()

Examples

capwords("bah, bah, black sheep")
#> [1] "Bah, Bah, Black Sheep"