isAlphaNumeric
Callable
Parameters
str: string
The string to check for alphanumeric characters.
optionalextra: string
Extra characters that are allowed.
Returns boolean
str
consists of alphanumeric characters.
The string to check for alphanumeric characters.
Extra characters that are allowed.
str
consists of alphanumeric characters.
Check whether given
str
is alphanumeric string.The allowed characters are A-Z, and a-z.
Example