# GT_STRPBRK()

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"

Status

  Ready

Files

  Library is libgt