RETURNS THE STRING REMOVING TRAILING SPACES FROM THE STRING S (ON THE RIGHT)
ACTION
The function RTRIM$(S) returns the string removing trailing spaces from the string S, that is on the right.
Remark: the keyword RTRIM$ ends by '$' : it means that the returned value is a string.
SYNTAX:
Result$=RTRIM$(S)
USE ERROR EXAMPLE
print rtrim$("->"+" abc ")
print "-> abc"
RTRIM$()
RTRIM$(S)
SEE ALSO
INSERT$()
INSTR()
LEFT$()
LEN()
LOWER$()
LTRIM$()
MID$()
RIGHT$()
STR$()
STRING$()
TRIM$()
UPPER$()