rTrim

Returns its string argument without any trailing whitespace.

Example

lTrim(" Hello Chicago     ")

This example returns the string ” Hello Chicago”.

Syntax

rTrim(string str)
  • stre: string

    Returns

    string

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.