[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Finds the index of a name in the name-value pairs.
Source position: classesh.inc line 737
public function TStrings.IndexOfName( |
const Name: string |
):Integer; virtual; |
IndexOfName searches in the list of strings for a name-value pair with name part Name. If such a pair is found, it returns the index of the pair in the stringlist. If no such pair is found, the function returns -1. The search is done case-insensitive.
Remark: |
|
|
Find a string in the list and return its position. |
|
|
Finds an object in the list and returns its index. |
|
|
Indexed access to the strings in the list. |