str = str.replaceAll("'", "''").replaceAll("\"", """); 转载于:https://www.cnblogs.com/yqlwl66/p/3830228.html