Learn R Programming

useful (version 1.2.6)

lower.case: lower.case

Description

Checks if strings are all lower case

Usage

lower.case(string)

Value

A vector of TRUE AND FALSE

Arguments

string

Character vector of strings to check cases

Author

Jared P. Lander

Details

Checks if strings are all lower case. This is a wrapper for find.case('text', 'lower'). If string is all numbers it returns TRUE.

See Also

find.case upper.case mixed.case numeric.case

Examples

Run this code
toCheck <- c('BIG', 'little', 'Mixed', 'BIG WITH SPACE', 'little with space', 'MIXED with SPACE')
lower.case(toCheck)

Run the code above in your browser using DataLab