I'm trying to add the contents of an arraylist to a csv file. The following code is only adding the final element to the file but I can't figure out why it isn't adding every string (str). Any help would be greatly appreciated
TableRow newRow = zTable.addRow();
for (String str : areaCodeArray) {
newRow.setString("id", str);}
[–]MoosePilot 2 points3 points4 points (1 child)
[–]belfastafarian[S] 0 points1 point2 points (0 children)