Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- GT_LIB v1.0 Reference Guide Release 1.0 - <b>return a string of all the characters in even positions</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Return a string of all the characters in even positions
------------------------------------------------------------------------------

 Syntax

        GT_CharEven(<cStr>) --> cRet

 Arguments:

      <cStr>   - A character string to extract chars from

 Returns:

      cRet     - A string of all the chars in even positions

 Description:

      Return a string consisting of all the characters in even
      positions in <cStr1>.

      NOTE:
         invalid parameters will return ""

 Examples:


      ? gt_CharEven("abcdefghijklm")             // prints "bdfhjl"


 Source: CHAREVEN.C

 Author:  Andy M Leighton

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