Added in 1.8.10
$len(text)
Returns the length of the text.
Parameters
Example
; Check the length of 'text'. //echo -ag text length is $len(text)