[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
+---------------------------------+
| ALLTRIM |
+---------------------------------+
ALLTRIM(<expC>)
-----------------------------------
Removes leading and trailing blanks of <expC>.
Return value - Character
-----------------------------------
+---------------------------------+
| Example |
+---------------------------------+
In this example, if extra spaces are included before or after name of
contact person, (here name Mike Tine is entered) ALLTRIM() removes
spaces. Removing spaces ensures that LOCATE can find name.
USE customer
@ 5,0 SAY 'Name of Contact person: ' GET person DEFAULT SPACE(20)
LOCATE FOR contact = ALLTRIM(person)
READ
? RECNO()
DISPLAY contact, company
-----------------------------------
See Also: LTRIM(), RTRIM(), TRIM()
-----------------------------------
See Also:
LTRIM()
RTRIM()
TRIM()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson