Hey Jules,
Can I request a new function within the StringArray class that simply swaps the contents of two containing Strings e.g. swapStrings (int index1, int index2) ?
Or does this already exist and I'm just not looking hard enough?
Thanks.
Hey Jules,
Can I request a new function within the StringArray class that simply swaps the contents of two containing Strings e.g. swapStrings (int index1, int index2) ?
Or does this already exist and I'm just not looking hard enough?
Thanks.
You could use something like list.getReference (1).swapWith (list.getReference (2))
Ah, didn't spot the getReference function. Thanks!