Deduplicate function
Removes duplicate strings in the AStrings argument.
Declaration
function Deduplicate(AStrings: TStrings): IntegerArguments
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
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
