rTrim()

Right trim string. Return string without right spaces. You can omit the dollar character so you can alternatively write it as rTrim()
.

Syntax:
string = rTrim$( string )
string = rTrim( string )

Example:
a$ = "test string "
b$= rTrim( a$ )
print a$ & "|---"
print b$ & "|---"

See also trim$() and lTrim$() commands.