strlen

strlen, function

def const dash pure strlen(source: text): number

Returns the length of source.

Example

show summary "Lengths" with
  strlen("") as "Empty"
  strlen("Hello") as "Hello"
  strlen("Hello World!") as "World"

This outputs the following summary:

Empty Hello World
0 5 12

Remarks

The length of text values is limited to 256 in Envision.

User Contributed Notes
0 notes + add a note