Hi Rob,
u can convert a string to int using the way suggested by Stijn147, but it will be better if u put it in a try-catch block, as it can throw NumberFormatException. The more complete way thus is:-
try{
int intIntegerForm = Integer.parseInt(strStringForm);
}catch(NumberFormatException...