processing string to int code example Example: processing string to int String s = "1"; int i = Integer.parseInt(s);