String s = "12345"; s = String.valueOf(Integer.parseInt(s) + 1);