I was wondering, is there any way to change "5" into 5?
"0123456789".indexOf("5");
public static int getInt(char ch) { return getInt(new String(new char[]{ch})); } public static int getInt(String T) { try { return Integer.parseInt(T); } catch(Exception e){return 0;} }