TLookupStringList.IndexOf function
Gets the position in Strings where the specified value is stored.
Declaration
function IndexOf(const S: string): Integer; overrideArguments
S | Value to locate in Strings. |
Function result
Ordinal position for the specified value, or -1 when it does not exist.
Description
IndexOf is an overridden
Integer function used to get
the position in
Strings where the specified value is stored.
IndexOf uses the internal
String map to determine if the value in
S is stored in the string list. If S already exists, the inherited
method is called.
The return value contains the ordinal position for the specified value, or -1 when S does not exist in the string map.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
