try { sum += Integer.parseInt(String.valueOf(args[i].charAt(j)));}catch (NumberFormatException mfe){}