[Overview][Constants][Types][Classes][Procedures and functions][Variables] |
Exchanges two strings in the list.
Source position: classesh.inc line 489
public procedure TStrings.Exchange( |
Index1: Integer; |
Index2: Integer |
); virtual; |
Exchangeexchanges the strings at positions Index1and Index2. The associated objects are also exchanged.
Both indexes must be in the range of valid indexes, i.e. must have a value between 0and Count-1.
If either Index1or Index2is not in the range of valid indexes, an EStringListErrorexception is raised.
|
Move a string from one place in the list to another. |
|
|
Indexed access to teh strings in the list. |
|
|
Number of strings in the list. |