单引号怎么替换啊? String str; str=str.replaceAll("\'","\\\'"); 这样写出错!
热心网友
对" ' "的处理不需要经过 转义的! str.replaceAll("'","ddd") str.replaceAll("ddd","'")
热心网友
shift+;
单引号怎么替换啊? String str; str=str.replaceAll("\'","\\\'"); 这样写出错!
对" ' "的处理不需要经过 转义的! str.replaceAll("'","ddd") str.replaceAll("ddd","'")
shift+;