What i probably would do is loop through the string array that you have and invoke the Integer.parseInt(String s) method.