help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'Classes' (#rtl)

TStrings.Equals

Compares the contents of two stringlists.

Declaration

Source position: classesh.inc line 496

public function TStrings.Equals(

  TheStrings: TStrings

):Boolean;

Description

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 is unequal, or they contain one or more different strings, False is returned.

Remark:
  1. The strings are compared case-insensitively.
  2. The associated objects are not compared

See also

Tstrings.Items

TStrings.Count

  

Number of strings in the list.

TStrings.Assign

  

Assign the contents of another stringlist to this one.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505