TStrings.Map¶
Call a map routine for each string in the list.
Declaration¶
Source position: classesh.inc line 1152
public
procedure Map(aMap: TStringsMapMethod; aList: TStrings);
function 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¶
| Name | Description |
|---|---|
| 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. |