LTRIM

Top  Previous  Next

×V2.1Ø

S

A

W

WS

ü

ü

Syntax -

LTrim <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 white space from the beginning of <source value>.  The resulting string is stored in <variable name>.

       

Sample:

       The following statement uses LTrim to remove white space from the beginning of the PTID variable and stores the result in New_PTID.

LTrim New_PTID PTID