is_alnum: String methods

Description Usage Arguments Value Examples

View source: R/strings.R

Description

General test if characters in a string are alphanumeric.

Usage

1
is_alnum(string)

Arguments

string

An object that inherits from class "character".

Value

Returns TRUE if all characters in the string are alphanumeric and there is at least one character, FALSE otherwise.

Examples

1
2
3
is_alnum("abc")
is_alnum("abc1")
is_alnum("1")

bgreenwell/bmisc documentation built on Sept. 24, 2019, 11:09 a.m.