public static void main(String[] args){ String hetong="202022732(102)"; hetong=hetong.replaceAll("\\(","(").replaceAll("\\)",")"); System.out.print(hetong); }
Java 替换中文括号小括号,或者英文括号
猜你喜欢
转载自blog.csdn.net/y_bccl27/article/details/114262757
今日推荐
周排行