Checks if a string contains only alphanumeric characters.
StringIsAlNum ( "string" )
Parameters
string | The string to check |
Return Value
Success: | Returns 1. |
Failure: | Returns 0 if string contains non-alphanumeric characters. |
Remarks
Keep in mind that any whitespace will cause StringIsAlNum to return 0.
Related
StringIsAlpha, StringIsASCII, StringIsDigit, StringIsLower, StringIsSpace, StringIsUpper, StringIsXDigit, StringUpper, StringLower
Example
$x = "This is a sentence with whitespace."
MsgBox(0,"StringIsAlNum returns:", StringIsAlNum($x))