how to parse a string array to int code example
Example 1: convert array string to number
// CONVERT ARRAY STRING TO ARRAY NUMBER
const arrStr = ["1", "3", "5", "9"];
const nuevo = arrStr.map((i) => Number(i));
console.log(nuevo);
// [1,3,5,9];
Example 2: java convert string array to int array
int[] intArray = convertStringArrayToIntArray(numbers.split(", "));