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