I have the following code as Strings
[444398, 1]
[111099, 0]
[188386, 2]
[149743, 0]
and I want to make a two-dimensional array with each number as an int. For example,
int[][] temp = new int[4][2]
I am trying to use
String challengetemp = Arrays.toString(Challenge.challenge(players[0], players[1]));
challengeList[i][i] = Integer.parseInt(challengetemp.split("\\|",-1));
but for starters, ParseInt is getting a type mismatch and results in an error.
I would need to be able to access the info from the array afterwards as integers