TStrings.Filter procedure
Return a filtered list.
Declaration
procedure Filter(aFilter: TStringsFilterMethod; aList: TStrings)
function Filter(aFilter: TStringsFilterMethod): TStringsDescription
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.
