[Overview][Classes][Procedures and functions][Index] Reference for unit 'LookupStringList' (#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.0 Generated 2025-05-03 Home