RETURNS THE N LAST CHARACTERS OF THE STRING S
ACTION
The function RIGHT$(S,N) returns the N last characters (on the right) of the string expression S.
N must not be negative. If N is 0, RIGHT$ returns the empty string ("").
Remark: the keyword RIGHT$ ends by '$' : it means that the returned value is a string.
SYNTAX:
Result$=RIGHT$(S,N)
USE ERROR EXAMPLE
print right$("abcd",2)
print "cd"
RIGHT$()
RIGHT$(S,N)
SEE ALSO
INSERT$()
INSTR()
LEFT$()
LEN()
LOWER$()
LTRIM$()
MID$()
RTRIM$()
STR$()
STRING$()
TRIM$()
UPPER$()