I am using String_Split to convert a username say, "Bloggs,Joe" into "Joe,Bloggs".

The String_Split function returns 2 elements in a list but I cant figure out how to swap them:

[0] - Bloggs

[1] - Joe

I want to store them in a variable that will contain "Joe.Bloggs" but cant figure out how to access the [1] element first.

Does anyone have any idea how to do this?




Instead of using current you can directly call the index. However this will return an error if the index does not exist.

I'm not sure if you always have 2 items in the list, or if it may be 1 or 3 in some cases...