Integer.parseInt()
try { String cadena = "1243e"; Integer.parseInt(cadena); } catch (NumberFormatException nfe){ nfe.printStackTrace(); }