Built-in Functions → rTrim

rTrim() is a string function that returns its string argument without any trailing whitespace; it removes the trailing white space characters and returns the result.

Signature

rTrim(string value)

Returns

string

Example

Remove the trailing whitespaces in " Hello Chicago ".

lTrim(" Hello Chicago ")

This example returns " Hello Chicago".