pat | : | string |
text | : | string |
Returns: { -1, 0, posint }
Synopsis: This returns the offset before the character where pat matches with text. If pat does not match text, -1 is returned.
Examples:
> SearchString('HerE', 'It is in hERe'); # case insensitive, found > SearchString('where', 'wear am i'); # not found
See also: CaseSearchString