TStrings.Equals function
Compares the contents of two stringlists.
Declaration
function Equals(Obj: TObject): Boolean; override; overload
function Equals(TheStrings: TStrings): Boolean; overloadDescription
Equals compares the contents of the stringlist with the contents
of
TheStrings. If the contents match, i.e. the stringlist contain
an equal amount of strings, and all strings match, then
True is
returned. If the number of strings in the lists is unequal, or they
contain one or more different strings,
False is returned.
- The strings are compared case-insensitively.
- The associated objects are not compared
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
