The system function StrLib.textLen returns the number of characters in a text expression, excluding any trailing spaces and nulls.
StrLib.textLen(source STRING in) returns (result INT)
length = StrLib.textLen(source);
Related concepts
Syntax diagram for EGL functions
Related reference
EGL library StrLib
Text expressions