powered by
Capitalizes the first letter (by default) or a substring of a given character string or each element of the character vector
capitalize(x, start = 1, end = 1)
a character string or a character vector
starting position of the susbtring (default = 1)
ending position of the susbtring (default = 1)
capitalize("abc") capitalize(c("abc", "xyx"), start = 2, end = 3)
Run the code above in your browser using DataLab