CoreClasses Xojo Plugin

StringArray.Swap Method (console safe)

Use this method to swap two objects in the array.

Swap(
   elementA as Integer,
   elementB as Integer)

Parameters

elementA
Use this parameter to specify one of the element to swap.
elementB
Use this parameter to specify the other element to swap.

Remarks

StringArray is 0 based, that is the first string is number 0.

See Also

StringArray Class