
upFirst(txt, lower = FALSE, alllower = FALSE)
TRUE
to make only the very first letter of the string upper case, and to keep words with at least 2 capital letters in their original formTRUE
to make every word start with lower case unless it has at least 2 capsupFirst(c('this and that','that is Beyond question'))
Run the code above in your browser using DataLab