procedure Exchange(const Index1, Index2: Integer);
Swaps items Index1 and Index2.
| # | Name | Description |
|---|---|---|
| 1 | Index1 | One item's index, 0..Count - 1. |
| 2 | Index2 | The other item's index, 0..Count - 1. |
Result: stored in self (calling object)
Remarks:
An index outside the list raises EStringListError.