Returns whether the string contains only alphanumeric characters.
Example:
assert (Strings.isAlphaNumeric ("Hello123") == true);
assert (Strings.isAlphaNumeric ("Hello 123") == false);
| s |
string for checking. |
|
true if string is non-empty and all characters are alphanumeric. |