我试图用双引号替换 '
与 "
但无济于事。
我尝试了以下方法。
output = output.Replace(@"'", @""");
output = output.Replace("'", @""");
output = output.Replace(@"'", """);
output = output.Replace(@"'", """");
output = output.Replace("'", "\"");
你可以使用这段代码,我在其中添加了一段 \
out = out.Replace("'","\"");