📜  string trin c# 代码示例

📅  最后修改于: 2022-03-11 14:48:42.149000             🧑  作者: Mango

代码示例1
var tmp = "  hello world  \t";
var res1 = tmp.Trim(); // "hello world"
var res2 = tmp.Replace(" ", String.Empty); // "helloworld\t"