RTRIM: Removing Blanks From the Right End of a String

How to:

The RTRIM function removes all blanks from the right end of a string.


Top of page

x
Syntax: How to Remove Blanks From the Right End of a String
RTRIM(string)

where:

string

Alphanumeric

Is the string to trim on the right.

The data type of the returned string is AnV, with the same maximum length as the source string.



Example: Removing Blanks From the Right End of a String

RTRIM removes trailing blanks from DIRECTOR.

RTRIM(DIRECTOR)

For BROOKS R.      , the result is BROOKS R.


iWay Software