I just tested this code, and it works:
var t1=["1","2","3"]
var sa=StringArray(t1)
print(sa)
It looks like StringArray()
is also valid and creates an empty array.
With your double dimensional array, I think you have to iterate:
var l=StringArray()
for x in infoitem:
for y in x:
l.push_back(y)
or if you want to keep the 2 dimensions, you must do an array of StringArray.