[Solved] Looping a string split from an array [closed]


Change your code to this:

String[][] content_split = new String[string_array.length][]; // create 2d array
for (int i=0; i<string_array.length; i++){
     content_split[i] = string_array[i].split(" : "); // store into array and split by different criteria
}

Which leaves you with a 2D array of your split content.

solved Looping a string split from an array [closed]