LTRIM: Removing Blanks From the Left End of a String

How to:

The LTRIM function removes all blanks from the left end of a string.

Syntax: How to Remove Blanks From the Left End of a String

LTRIM(string)

where:

string

Alphanumeric

Is the string to trim on the left.

The data type of the returned string is AnV, with the same maximum length as the source string.

Example: Removing Blanks From the Left End of a String

RDIRECTOR has the director name right justified. LTRIM removes the leading blanks.

LTRIM(RDIRECTOR)

For                     BROOKS R. the result is BROOKS R.

WebFOCUS

Feedback