TSubstringListInvariant.Items Property

property Items[const Index: Integer]: PSubstring read GetItemPtr;

Item Index (0..Count - 1) itself: every Substring member works on it in place.

#NameDescription
1Index

The item's index, 0..Count - 1.

Returns: PSubstring

Remarks:

The pointer is valid until the item is deleted, Capacity is set or the list shrunk; growing moves no item. An Index outside the list raises EStringListError.