I just want to know if there\'s a better solution to parse a number from a character in a string (assuming that we know that the character at index n is a number).
String element = "el5"; int x = element.charAt(2) - 48;
Subtracting ascii value of '0' = 48 from char