StringArray swap strings request


#1

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.


#2

You could use something like list.getReference (1).swapWith (list.getReference (2))


#3

Ah, didn't spot the getReference function. Thanks!