conert string to an interger code example Example: converting string to interer int i = Integer.parseInt(myString);