Converts the input to a character vector, with the first letter of each element uppercased.
See also
Other string functions:
as_chr(),
as_comment_str(),
as_env_var_name(),
as_line_feed_chr(),
as_str(),
dsv_colnames(),
enum_str(),
escape_lf(),
fuse_regex(),
phrase_nr(),
sentenceify(),
wrap_chr()
Examples
pal::capitalize_first(c("one", "Two", "tHREE"))
#> [1] "One" "Two" "THREE"
