Introduction
Here is the source code for Main.java
Source
//package com.java2s;
public class Main {
public static int parseToInt(String str) {
return Integer.parseInt(formatStr(str));
}
public static String formatStr(String str) {
return str.trim();
}
}