mixed.case: mixed.case

View source: R/checkCase.r

mixed.caseR Documentation

mixed.case

Description

Checks if strings are all lower case

Usage

mixed.case(string)

Arguments

string

Character vector of strings to check cases

Details

Checks if strings are a mix of upper and lower case. This is a wrapper for find.case('text', 'mixed'). If string is all numbers it returns FALSE.

Value

A vector of TRUE AND FALSE

Author(s)

Jared P. Lander

See Also

find.case all.upper

Examples

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

useful documentation built on Oct. 24, 2023, 9:07 a.m.