Versions Compared

Key

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

This routine is available starting with katl-commons SIL Engine™ 1.0.

Syntax

length(str)

Description

Excerpt

Returns the length of the provided string, 0 if the string is null or has no chars.

Parameters

Parameter name

Type

Required

Description

str

string

Yes

Specifies a character expression the Length() returns the number of characters for.

Return type

number

Example

Code Block
wlen = length("This text is <wlen> characters long");
print("Length is " + wlen);

...

Filter by label (Content by label)
showLabelsfalse
max100
showSpacefalse
cqllabel = "string_routines"
labelsstring_routines