Java tutorial
//package com.java2s; public class Main { public static int getIntager(String str) { str = str.substring(0, str.length() - 2); int ab = Integer.parseInt(str); return ab; } }