Skip to content

THashedStringList.IndexOf

Returns the index of a string in the list of strings.

Declaration

Source position: inifiles.pp line 97

public 
function IndexOf(const S: string) : Integer;  override;  overload; overload;

function IndexOf(const S: string; aStart: Integer) : Integer;  override
                ;  overload; overload;

Description

IndexOf overrides the #rtl.classes.TStringList.IndexOf method and uses the hash values to look for the location of S.

See also

Name Description
#rtl.classes.TStringList.IndexOf
THashedStringList.IndexOfName Return the index of a name in the list of name=value pairs.