getLength() is used to return an integer value identifying the total number of characters in the string:
LET ln = string_val.GetLength()
Trailing spaces are also taken into account. If the string is empty, the method will return 0. This method accepts no parameters.