Unit 'LookupStringList' Package
[Overview][Classes][Procedures and functions][Index] [#lazutils]

Deduplicate

Removes duplicate strings in the AStrings argument.

Declaration

Source position: lookupstringlist.pas line 57

function Deduplicate(

  AStrings: TStrings

):Integer;

Arguments

AStrings

  

TStrings instance examined in the function.

Function result

The number of duplicates removed from AStrings.

Description

Removes duplicate strings (with case sensitivity) from AStrings. Deduplicate creates a TLookupStringList instance that is used to remove the duplicate values in AStrings.

See also

TLookupStringList

  

Implements an unsorted StringList with a fast lookup feature.


Version 4.4 Generated 2025-11-08 Home