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 an element of a delimited string</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Return an element of a delimited string
------------------------------------------------------------------------------

 Syntax

        GT_Element( cString , nElement )

 Arguments:

      cString  - Delimited string
      nElement - Number of element to find

 Returns:

      The required element of the string

 Description:

      Finds an element in a delimited string.  The string should be
      delimited by it's first character.

 Examples:

      Return the third element of a string :

          cString := GT_Element( cBigString , 3 )

 Header File: GT_LIB.CH

 Source: ELEMENT.PRG

 Author:  Martin Colloby

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