kst*_*kst 26 c# string replace
如何在C#中的字符串中用双引号(")替换单引号(')?
Bal*_*a R 42
您需要为引号符号使用正确的转义序列,您可以在此处找到有关转义序列的更多信息.
String stringWithSingleQuotes= "src='http://...';"; String withDoubleQuotes = stringWithSingleQuotes.Replace("'","\"");
Rob*_*Rob 6
var abc = "hello the're"; abc = abc.Replace("'","\"");
归档时间:
15 年,7 月 前
查看次数:
65268 次
最近记录:
14 年,6 月 前