upper.case {useful} | R Documentation |
upper.case
Description
Checks if strings are all upper case
Usage
upper.case(string)
Arguments
string |
Character vector of strings to check cases |
Details
Checks if strings are all upper case. This is a wrapper for find.case('text', 'upper')
. If string is all numbers it returns TRUE.
Value
A vector of TRUE AND FALSE
Author(s)
Jared P. Lander
See Also
find.case lower.case mixed.case numeric.case
Examples
toCheck <- c('BIG', 'little', 'Mixed', 'BIG WITH SPACE', 'little with space', 'MIXED with SPACE')
upper.case(toCheck)
[Package useful version 1.2.6.1 Index]