lower.case: lower.case

View source: R/checkCase.r

lower.caseR Documentation

lower.case

Description

Checks if strings are all lower case

Usage

lower.case(string)

Arguments

string

Character vector of strings to check cases

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.

Value

A vector of TRUE AND FALSE

Author(s)

Jared P. Lander

See Also

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

Examples

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

jaredlander/useful documentation built on Nov. 4, 2023, 10:56 a.m.