capIt {omnibus} | R Documentation |
Capitalize the first letter of a string or the first letters of a list of strings.
capIt(x)
x |
Character or character vector. |
Character or character vector.
x <- c('shots', 'were', 'exchanged at the ', 'hospital.')
capIt(x)