Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Books 1-3 - <b>posdel()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 POSDEL()
 Deletes characters at a particular position in a string
------------------------------------------------------------------------------
 Syntax

     POSDEL(<cString>,[<nStartPos>],[<nNumber>])
        --> cString

 Arguments

     <cString>  Designates the character string from which the characters
     are deleted.

     <nStartPos>  Designates from which position the deletion begins.

     <nNumber>  Designates the number of characters to delete.

 Returns

     The modified string is returned.

 Description

     This function permits the removal of <nNumber> of characters from
     <cString>, beginning from <nStartPos>.

 Note

     .  <nStartPos> is optional.  If this parameter is not specified,
        then POSDEL() begins at the end of the <cString> and deletes the
        specified number (<nNumber>) of characters.

 Examples

     .  Delete two characters from a string:

        ? POSDEL("Parameter", 3, 2)         // "Pameter"

     .  Delete the last two characters:

        ? POSDEL("Parameter", , 2)          // "Paramet"


See Also: POSINS() POSRANGE()

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