RTrim()

Syntax

Result$ = RTrim(String$ [, Character$])
Description
Removes all the 'space' characters located at the end of a string. If the optional 'Character$' parameter is specified, it removes all the 'Character$' located at the end of a string. 'Character$' has to be a one character length string.

Example:


  Debug RTrim("This is Art     ") ; Will display "This is Art"
  Debug RTrim("Hello Word!!", "!") ; Will display "Hello World"

Supported OS

All

<- RSet() - String Index - RemoveString() ->