String phrase = "12"; int i; i = Integer.parseInt(phrase);
String number = "1" int num = Integer.parseInt (name); //num equals 1