powered by
Capitalize the first letter of a string or the first letters of a list of strings.
capIt(x)
Character or character vector.
toupper, tolower,
toupper
tolower
x <- c('shots', 'were', 'exchanged at the ', 'hospital.') capIt(x)
Run the code above in your browser using DataLab