isAlNum

Syntax

isAlNum(X)

Arguments

X is a STRING scalar or vector.

Details

Return "true" if all characters in string X are alphanumeric (either alphabets or numbers).

Examples

isAlNum("123456");
// output
true

isAlNum("1And1");
// output
true

isAlNum("10.05");
// output
false

isAlNum(string());
// output
false