Added in 1.8.10

$len(text)

Returns the length of the text.

Parameters

text - The text to check.

Example

; Check the length of text
//echo -ag text length is $len(text)