Moving a String Within a List

From RAD Studio
Jump to: navigation, search

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:


StringListObject->Move(2, 4);


StringListObject.Move(2, 4);

See Also