Capitalize strings in a vector
Capitalise first word or all words of a character vector. Lower back of vector element or word, respectively.
capitalizeStrings(x, all.words = FALSE, lower.back = FALSE)
x |
[ |
all.words |
[ |
lower.back |
[ |
Capitalized vector: [character(n)
].
capitalizeStrings(c("the taIl", "wags The dOg", "That looks fuNny!")) capitalizeStrings(c("the taIl", "wags The dOg", "That looks fuNny!") , all.words = TRUE, lower.back = TRUE)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.