Skip to end of banner
Go to start of banner

length

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Availability

This routine is available starting with katl-commons 1.0.

Syntax

length(str)

Description

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

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

Print Length is 35

See also

 

  • No labels