Exchange

Declaration: TStringList.Exchange(ix1, ix2: integer);
Swaps the position of two strings in the list. The strings are specified by their index values (parameters ix1 and ix2). Indexes are zero-based.