is_alnum {charcuterie} | R Documentation |
Is a Character a Letter OR a Number?
Description
A combination of is_letter()
and is_number()
.
Usage
is_alnum(x)
Arguments
x |
A vector of characters. |
Value
A boolean vector indicating whether each element of x
is a
letter or a number.
Examples
is_alnum(chars("Lee7c0deR 4 L1fe"))
Filter(is_alnum, chars("2 B or !2 B"))
[Package charcuterie version 0.0.4 Index]