length (Function)
Returns the length of the input string.
Syntax
<INT> str:length(<STRING> input.string)
Query Parameters
Name | Description | Default Value | Possible Data Types | Optional | Dynamic |
---|---|---|---|---|---|
input.string | The input string to derive the length. | STRING | No | Yes |
Example 1
length("Hello World")
This outputs the length of the provided string. In this scenario, the,
output is 11
.