Unit 'Classes' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

TStrings.Map

Call a map routine for each string in the list.

Declaration

Source position: classesh.inc line 1037

public procedure TStrings.Map(

  aMap: TStringsMapMethod;

  aList: TStrings

);

function TStrings.Map(

  aMap: TStringsMapMethod

):TStrings;

Description

Map applies aMap to each string in the list and adds the result to the list aList. If aList is not specified, the result is a TStringList instance which must be freed by the caller.

See also

TStrings.ForEach

  

Call a callback for each string in the list.

TStrings.Map

  

Call a map routine for each string in the list.

TStrings.Filter

  

Return a filtered list.

TStringsMapMethod

  

Reduce algorithm for TStrings.Map.

TStrings.Reverse

  

Reverse the order of the strings in the list.


Documentation generated on: Nov 23 2024