RTRIM

Top  Previous  Next

×V2.1Ø

S

A

W

WS

ü

ü

Syntax -

RTrim <variable name> <source value>

       Where:

       <variable name> is the user defined name that is assigned to the variable.

       <source value> is a literal string or a variable that contains a literal string.

 

Description:

       This command is used to strip whitespace from the end of <source value>.  The resulting string is stored in <variable name>.

 

Sample:

       The following statement uses RTrim to remove whitespace from the end of the LastName variable and stores the result in LastName_Trimmed.

LTRIM LastName_Trimmed LastName