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.
Example
set(#text length, $text length("mytext"), "Global")
Running the script sets the variable to the total text length of the string.