capitalize_first | R Documentation |
Converts the input to a character vector, with the first letter of each element uppercased.
capitalize_first(x)
x |
Input of which to capitalize the first letter, typically a character vector. |
A character vector of the same length as x
.
Other string functions:
as_chr()
,
as_comment_str()
,
as_line_feed_chr()
,
as_str()
,
dsv_colnames()
,
enum_str()
,
escape_lf()
,
fuse_regex()
,
prettify_nr()
,
sentenceify()
,
wrap_chr()
pal::capitalize_first(c("one", "Two", "tHREE"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.