Sign in Join
FPDoc Onlineexperiment

TStrings.Filter procedure

Member of TStringspublicIn unit Classes

Return a filtered list.

Declaration

pascal
procedure Filter(aFilter: TStringsFilterMethod; aList: TStrings)
function Filter(aFilter: TStringsFilterMethod): TStrings

Description

Filter applies aFilter to each string in the list, and if aFilter returns True, adds the string to the aList list. If the aList argument is not supplied, the result is a TStringList instance that must be freed by the caller.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.