Moving a String Within a List
Go Up to Manipulating Strings in a List
To move a string in a string list, call the Move method, passing two parameters:
- The current index of the string
- The index you want assigned to it
For example, to move the third string in a list to the fifth position, you would use:
C++:
StringListObject->Move(2, 4);
Delphi:
StringListObject.Move(2, 4);