TSubstringListAscii.Exchange Method

procedure Exchange(const Index1, Index2: Integer);

Swaps items Index1 and Index2.

#NameDescription
1Index1

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

2Index2

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

Result: stored in self (calling object)

Remarks:

An index outside the list raises EStringListError.