[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
+---------------------------------+
|              LTRIM              |
+---------------------------------+
LTRIM(<expC>)

-----------------------------------
Removes leading blanks from <expC>.
Return value - Character
-----------------------------------

LTRIM() returns the given character string <expC> with all leading
blanks removed.

This function is especially useful for removing the leading blanks which
occur when you use the STR() function to convert a numeric value to a
string variable.

+---------------------------------+
|             Examples            |
+---------------------------------+
STORE 'Perrysburg'  TO city
STORE '         Ohio'  TO state
? city, state

? city, LTRIM(state)

-----------------------------------

See Also:  ALLTRIM(), LEFT(), PAD(), RIGHT(), RTRIM(), SUBSTR(), TRIM()

-----------------------------------

See Also: ALLTRIM() LEFT() PAD() RIGHT() RTRIM() SUBSTR() TRIM()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson