length

Full name: taxi.stdlib.length

Signature

declare extension function length(String):Int

Description

Returns the number of characters in the string.

find { message: Message } as {
   charCount: Int = message.body.length()
}

Examples

Returns the character count of a string.

Try it out

Schema
Query Plan
Play with this snippet by editing it here, or edit it on Taxi Playground
Result
Query failed
Next
Welcome to Taxi