📅  最后修改于: 2022-03-11 14:48:51.936000             🧑  作者: Mango
代码示例1
// Remove all newlines from the 'example' string variable
string cleaned = example.Replace("\n", "").Replace("\r", "");