rTrim
Returns its string argument without any trailing whitespace.
Example
lTrim(" Hello Chicago ")This example returns the string ” Hello Chicago”.
Syntax
rTrim(string str)Description
rTrim searches for any white space following non-whitespace characters in its string argument. It removes the trailing white space characters and returns the result.