length
Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center? Click here !
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