Text.Left
From Xojo Documentation
Method
Returns the first count characters of the Text value.
Exceptions
- OutOfBoundsException if maximumLength is less than 0 or count is greater than Text.Length.
Sample Code
Get the 5 left-most characters of the text: