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


Search within the pystr package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.