Versions Compared

Key

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

...

Info
titleAvailability

This routine is available since starting with katl-commons 1.0.

Syntax

...

isUpper(str)

Description

...

Excerpt

Returns true if the provided argument str is a string containing only upper letters.

Parameters

...

Parameter name

Type

Required

Description

str

string

Yes

Specifies a character expression.

Return type

...

boolean (true/false)

Example

...

Example 1

...

Code Block
wret = isUpper("FOOBAR");
print(wret);

Print true

Example 2

...

Code Block
wret = isUpper("aAA2345f.FF");
print(wret);

Print false

Example 3

...

Code Block
wret = isUpper("");
print(wret);

Print false

Notes

...

Note

isUpper 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
max100
showSpacefalse
cqllabel = "string_routines"
labelsstring_routines