[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Find a string in the list and return its position.
Source position: classesh.inc line 735
public function TStrings.IndexOf( |
const S: string |
const S: string; |
aStart: Integer |
):Integer; virtual; |
IndexOf searches the list for S. The search is case-insensitive. If a matching entry is found, its position is returned. if no matching string is found, -1 is returned.
Remark: |
|
|
Finds an object in the list and returns its index. |
|
|
Finds the index of a name in the name-value pairs. |
|
|
Indexed access to the strings in the list. |