[Overview][Classes][Procedures and functions][Index] |
Gets the position in Strings where the specified value is stored.
Source position: lookupstringlist.pas line 54
public function TLookupStringList.IndexOf( |
const S: string |
):Integer; override; |
S |
|
Value to locate in Strings. |
Ordinal position for the specified value, or -1 when it does not exist.
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.
Version 4.0 | Generated 2025-05-03 | Home |