ltrim

Trims blanks to the left of a char string.

Available in:

Apps (win) Apps (char) Reportwriter RPC Standalone PL
X X X X X

Syntax

string ltrim (string [,charset])
string        string, charset

Description

This function strips the chars specified in charset from string until it reaches a character not specified in charset. If no char is specified, the function assumes blanks.

Example

The following strips blanks from the left of the string located in buffer parm[3].
buf = ltrim(parm[3])