I have a String of data called purchaseData which is separated into into lines with "\n" and into fields with "," (in CSV format).
How could I make a 2D string array so that the array contains arrays with each of the fields in. So for String[i][j], i would be the line value (position of row) and j would be the position of the field within the selected array of data (the row).
1 Answer