...
Info | ||
---|---|---|
| ||
This routine is available since starting with katl-commons 1.0. |
Syntax
...
isAlphaNumeric(str)
Description
...
Excerpt |
---|
Returns true if the provided argument str is a string containing only letters and digits. |
Parameters
...
Parameter name | Type | Required | Description |
---|---|---|---|
str | string | Yes | Specifies a character expression. |
Return type
...
boolean (true/false)
Example
...
Example 1
...
Code Block |
---|
wret = isAlphaNumeric("foobar"); print(wret); |
Print true
Example 2
...
Code Block |
---|
wret = isAlphaNumeric("aaa2345G"); print(wret); |
Print true
Example 3
...
Code Block |
---|
wret = isAlphaNumeric("23asd.*;45"); print(wret); |
Print false
Notes
...
Note |
---|
isAlphaNumeric returns false if the character string str contains blanks or special characters or is a null string. |
See also
...
Filter by label (Content by label) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|