This command is a function and can only be referenced within a SET command. It returns a character string containing the last 'length' caracters of the source string.
~RIGHTSTR (length, string)
A character expression.
An integer variable or value defining the number of characters to extract to form the substring
The character value or character variable
SET newstr = ~RIGHTSTR (iLength, Name)