A StringArray does not need that kind of initialization you would just do
StringArray collection; in your class
Then just add elements to it
collection.add("Something");
then just
for (int i = 0; i < collection.size(); ++i) { const String item (collection[i]); //here you create a new string called item based on the one in the collection DBG(item); //here you should see the output }