Java 截取特殊符号前后字符串时间:2025-02-15 13:57:07 //获取特殊符号后面的字符串 String str =""; String [] strs = ("[.]"); ("符号前面的字符串="+strs[0]); ("符号后面的字符串="+strs[1]);