len

Syntax

length = LEN(text)

Arguments

length: integer

text: text

Meaning

Gives the actual length of text in characters. The newline (\n), alert (\a) and tab(\t) characters are counted as as a single character each, so LEN('sport\t') returns 6.

Example

length = LEN('ABC'+'def'+'GH')

Result

length is 8.