C#中多次字符串的替换

string temp;

temp.Replace("\r\n","").replace("\0","");//将“\r\n”和“\0”替换成“”

posted @ 2021-05-14 15:28  luwutong  阅读(612)  评论(0编辑  收藏  举报