Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info
titleAvailability

This routine is available starting with SIL Engineā„¢ 1.0.

Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

isAlphaNumeric(str)

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue
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
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

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

...

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)
showLabelsfalse
max10025
showSpacefalse
cqllabel = "string_routines" and space = currentSpace ( )
labelsstringarray_routines