Info |
---|
|
This routine is available starting with SIL Engineā¢ 1.0. |
Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | isAlphaNumeric(str) | Package | | Alias | | Pkg Usage | | |
Description
Excerpt |
---|
|
Returns "true" if the provided argument str is a string containing only letters and digits. |
Returns "true" if the provided argument str is a string containing only letters and digits.
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
str | |
...
String | Yes | Specifies a character expression. |
|
Return
...
Type
boolean Boolean (true/false)
...
Examples
Example 1
Code Block |
---|
wret = isAlphaNumeric("foobar");
print(wret);
|
Print true
Example 2
Code Block |
---|
wret = isAlphaNumeric("aaa2345G");
print(wret);
|
Print true false
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) |
---|
showLabels | false |
---|
max | 10025 |
---|
showSpace | false |
---|
cql | label = "string_routines"routine" and space = currentSpace ( ) |
---|
labels | stringarray_routines |
---|
|