array concatenation?

is there a way to concatenate arrays?

arrayone=["test","west","best"]

arraytwo=["guest","fest","blessed"]

arraythree= [arrayone+arraytwo]

this results in a two element array containing two arrays, instead of one array containing all six elements.

  • Joel

This should work.

arrayone.Append(arraytwo)

seems to work. arraythree=arrayone.append(arraytwo) on the otherhand seems to result in type UNKNOWN

Append doesn’t return a value, it appends the second array to the first. If you need a third array, you should do this:

arrayone = [ "blah", "blah", "blah" ]
arraytwo = [ "blah", "blah", "blah" ]
arraythree = []
arraythree.Append(arrayone)
arraythree.Append(arraytwo)