[String->Sub] returns a substring from a string object. The first parameter is required and defines the starting position of the substring. A second optional parameter defines the length of the substring to return, and defaults to the size of the string object. Both parameters must be integers.
'String Object'->sub(Starting Position)
'String Object'->sub(Starting Position, Length)
Use the [String->Sub] method. The following example returns a substring starting at the eleventh position with a length of five characters.
'The quick white rhino'->sub(11,5)
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.