TStrings.Slice procedure
Return a subrange of strings starting at a given index.
Declaration
procedure Slice(fromIndex: Integer; aList: TStrings); overload
procedure Slice(fromIndex: Integer; toIndex: Integer; aList: TStrings)
; overload
function Slice(fromIndex: Integer): TStrings; overload
function Slice(fromIndex: Integer; toIndex: Integer): TStrings
; overloadDescription
Slice adds to
aList the strings in the current list,
starting with the string at index
FromIndex. If
aList
is not specified, a
TStringList instance is created and used.
The caller must free the new instance.See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
