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