how to convert from string to interger code example Example: converting string to interer int i = Integer.parseInt(myString);