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

Syntax:     POSDEL(<expC>[,<expN1>[,<expN2>])

Arguments:  <expC> is the string in which deletion should take place.
            <expN1> denotes the position from which to delete.
            <expN2> determines the number of characters to delete.

Returns:    A character string.
            The modified string is returned.

Usage:      The function removes <expN2> characters from the starting
            position <expN> in the string <expC>.

Notes:      The <expN1> is optional.  POSDEL() will delete
            <expN2> characters from the right of <expC> if <expN1>
            is not passed.

Library:    CT1.LIB


--------------------------------- Example ------------------------------

Examples:   * Deleting two characters in a string.
            ? POSDEL("Argument",3,2)                    && "Arment"

            * Deleting the last two characters.
            ? POSDEL("Argument",2)                      && "Argume"



See Also: POSINS() POSRANGE()

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