我需要在我的字符串中替换""with的所有实例"null".
我打算用
result.Replace("", "");
Run Code Online (Sandbox Code Playgroud)
但我似乎无法找到一种方法来指定这两个".
I a*_*ica 14
逃脱报价:
result.Replace("\"\"", "\"null\""); // will return a new string
Run Code Online (Sandbox Code Playgroud)
[编辑]忘记替换中的引号.
| 归档时间: |
|
| 查看次数: |
152 次 |
| 最近记录: |