capitalize_words

0th

Percentile

Capitalizes the first letter of every word

Capitalizes the first letter of every word

Usage
capitalize_words(words, lowercase_of = TRUE)
Arguments
words

A string or vector of strings with words you want capitalized

lowercase_of

If TRUE (default), keeps the string " of " to be lowercased as is custom in English writing (e.g. District of Columbia).

Value

The original string with the first letter of each word capitalized

Aliases
  • capitalize_words
Examples
# NOT RUN {
capitalize_words("district of columbia")
# }
Documentation reproduced from package crimeutils, version 0.1.0, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.