to convert string into integer code example Example: converting string to interer int i = Integer.parseInt(myString);