pystr_isalnum: Check if a string is alphanumeric.

Description Usage Arguments Value References See Also Examples

Description

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

Usage

1

Arguments

str

A character vector.

Value

A logical vector.

References

https://docs.python.org/3/library/stdtypes.html#str.isalnum

See Also

pystr_isalpha, pystr_isnumeric

Examples

1
2
3
4
pystr_isalnum("abc")
pystr_isalnum("abc123")
pystr_isalnum("abc123!")
pystr_isalnum(c("one", "2", "three!"))

pystr documentation built on April 15, 2017, 12:30 a.m.

Related to pystr_isalnum in pystr...