Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

length(str)

Package


Alias


Pkg Usage


Description

Excerpt
hiddentrue

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

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

...

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

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
languagejs
wlen = length("This text is <wlen> characters long");
print("Length is " + wlen);

Print Lenght is 35

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "string_routine" and space = currentSpace ( )
labelsarray_routines