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

TStrings.ToStringArray

Return the strings as an array of string.

Declaration

Source position: classesh.inc line 986

public function TStrings.ToStringArray(

  aStart: Integer;

  aEnd: Integer

):TStringDynArray; overload;

function TStrings.ToStringArray: TStringDynArray; overload;

Description

ToObjectArray returns all the values in the Objects array as a dynamic array of TObject instances. If aStart and aEnd are specified, only the objects with indexes in the specified array (aStart and aEnd included) are returned. Nil values will also be returned.

Errors

If aStart is larger than aEnd, no elements are returned.

See also

TStrings.ToObjectArray

  

Return the objects as an array of object.

TStrings.Strings

  

Indexed access to the strings in the list.

TStrings.Objects

  

Indexed access to the objects associated with the strings in the list.


Documentation generated on: Oct 27 2024