method Move(CurrentIndex: Number, NewIndex: Number)
Available for StringList Objects. Moves the item at position CurrentIndex to position NewIndex.
Move method syntax has these named arguments:
Parameter |
Description |
|---|---|
CurrentIndex |
Required. The Index number of the String to be moved. |
NewIndex |
Required. The Index position to move the String to. |
For example:
strList.Move(2, 4)
will move the string in the second position in the list to the fourth position in the list.