hasUpperCase {r2shortcode} | R Documentation |
Simply change if there is any uppercase letter in a string
hasUpperCase(string)
string |
the string to evaluate |
TRUE or FALSE if the string has an upper case letter
strToTest1 <- 'obiWentToSchool'
strToTest2 <- 'obiwenttoschool'
hasUpperCase(strToTest1)
hasUpperCase(strToTest2)