~RIGHTSTR Command

Description:

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.

Format:

 ~RIGHTSTR (length, string)
Return Value:

A character expression.

Parameters:

length 

An integer variable or value defining the number of characters to extract to form the substring

string

The character value or character variable

Example:

 SET newstr = ~RIGHTSTR      (iLength, Name)

See also:

Output Stream Handling Commands