Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide To Clipper - <b>alltrim()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
ALLTRIM()


Syntax:     ALLTRIM(<expC>)

Purpose:    To remove leading and trailing spaces.

Argument:   <expC> is the character string to trim.

Returns:    A character string.

            ALLTRIM() returns <expC> without leading or trailing blanks
            and is the equivalent of LTRIM(RTRIM(<expC>)).

Library:    EXTEND.LIB


----------------------------------- Examples -------------------------------

   charvar = SPACE(10) + "string" + SPACE(10)
   ? LEN(charvar)                               && Result: 26
   ? LEN(ALLTRIM(charvar))                      && Result: 6


See Also: LTRIM() TRIM()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson