RIGHT
Returns the last characters of a text.
If the text is shorter, you get the whole text. A negative length raises INVALID_ARGUMENT.
Parameters and results
textSTRING: the textlengthINTEGER: the number of characters- result
resultSTRING: the lastlengthcharacters
Example
c0de
CALL c0de/strings/RIGHT
PARAMETER text name ;
PARAMETER length 3 ;
RESULT result ending