pystr_isalnum: Check if a string is alphanumeric.

Description Usage Arguments Value References See Also Examples

View source: R/pystr_isalnum.R

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!"))

nicolewhite/pystr documentation built on May 23, 2019, 5:09 p.m.