I had tried:
Code:
sPop = Integer.parseInt(input.substring(32,40).trim()); // breaks here
Once again thank you...
sPop = Integer.parseInt(input.substring(32,40).trim()); // breaks here
String input = ""; while(readFile.hasNextLine()) { input = readFile.nextLine(); String sName = input.substring(0, 14); String sCap = input.substring(15,29); String sAbbr = input.substring(30,32);
int sRegNum = Integer.parseInt(input.substring(56));
String input = ""; while(readFile.hasNextLine()) {
Leave a comment: