我正在尝试使类似的东西起作用
String s="3+33"; int i = Integer.parseInt(s); String s2= Integer.toString(i); System.out.println(s2);
但是,它给了我NumberFormatException。有什么解决方法吗?
https://stackoverflow.com/a/2605051/10837115