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>amalgamate two strings to form the return value</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Amalgamate two strings to form the return value
------------------------------------------------------------------------------

 Syntax

        GT_CharMix(<cStr1>, <cStr2>) --> cRet

 Arguments:

      <cStr1>  - A character string to mix
      <cStr2>  - A character string to mix with

 Returns:

      cRet     - A string consisting of all the characters in <cStr1>
                 mixed with all the characters in <cStr2>

 Description:

      Return a string consisting of all the characters in <cStr1>
      mixed with the characters from <cStr2>.

      NOTE:
         invalid parameters will return ""

 Examples:


      ? gt_CharMix("abc", "123")               // prints "a1b2c3"
      ? gt_CharMix("abcde", "123")             // prints "a1b2c3de"
      ? gt_CharMix("abc", "12345")             // prints "a1b2c345"


 Source: CHARMIX.C

 Author:  Andy M Leighton

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