Text Length
From UBot Studio
$Text Length is a Text Function.
The function returns the total length of string.
Please see Pad Text for more examples.
Text: The text where the text length will be pulled from. Accepts variables and functions such as $next list item, $list item, $random list item, $previous list item, and $table cell under Text to Type.
Example
set(#text length, $text length("mytext"), "Global")
Running the script sets the variable to the total text length of the string.