You can find the number of characters in any string variable during execution by using the length of built-in function. (See Built-in Functions )
For example, if you have defined a string variable as follows:
string Message is "Select to log on"
and then specify later in the program the function:
length of Message
ESL returns the integer value 16. Note that spaces are counted.