Sign in Join
FPDoc Onlineexperiment

TLookupStringList.Find function

Member of TLookupStringListpublicIn unit LookupStringList

Locates the specified value in the Strings property.

Declaration

pascal
function Find(const S: string; out Index: Integer): Boolean; override

Description

Find is an overridden Boolean function used to locate the specified value in the Strings property. The value in Index contains the position in Strings where value was located using the IndexOf method. Index contains -1 if the value in S is not stored in Strings. The return value if True when Index contains a value other than -1.

Please note: Find does NOT call the inherited method.

See also

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.