| Unit: |
SDL_dstruct |
| Class: |
TStringStack |
| Declaration: |
function FindString (Str: string; SubString, IgnoreCase: boolean): integer; |
The function FindString searches the stack for the (sub)string Str. If SubString is TRUE then a substring search is performed, otherwise the string on the stack has to match the parameter Str. The search is not case sensitive if IgnoreCase is set to TRUE and returns a positive number (between 1 and NumEntries) if the string has been found or a value of -1 if there is no such string on the stack.
|