LEFT

This function retains the specified number of characters on the left side of a string and removes the remaining characters on the right side of the string.

LEFT(String, Length)


PARAMETERS

String

String expression from which the leftmost characters will be returned

Length

The # of characters to return.

Example:
Store the first 10 characters of the value contained in TEXT1 in TEXT2.

SETVALUE(~TEXT2~//LEFT(~TEXT1~,10))