powered by
find.case(string, case = c("upper", "lower", "mixed", "numeric"))
toCheck <- c('BIG', 'little', 'Mixed', 'BIG WITH SPACE', 'little with space', 'MIXED with SPACE') find.case(toCheck, 'upper') find.case(toCheck, 'lower')
Run the code above in your browser using DataLab