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 string after 1st char from a set</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Return string after 1st char from a set
------------------------------------------------------------------------------

 Syntax

        GT_StrpBrk(<cStr>, <cSet>) --> cString

 Arguments:

      <cStr>   - The input string
      <cSet>   - The set of characters to find

 Returns:

      cString  - The input string after the first occurance of any
                 character from <cSet>

 Description:

      Return a string after the first occurance of any character from
      the input set <cSet>.

 Examples:


      ? GT_Strpbrk("This is a test", "sa ")  // prints "s is a test"
      ? GT_Strpbrk("This is a test", "et")   // prints "test"


 Source: STRPBRK.C

 Author:  Andy M Leighton

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