function IndexOf(const S: string): Integer; overload;
The index of the first item equal to S, or -1.
| # | Name | Description |
|---|---|---|
| 1 | S | The text, every text kind. |
Returns: Integer - The item's index, or -1.
Remarks:
As TStringList.IndexOf: the list's comparison decides equality; a sorted list is searched by Find.