C # removed string space, carriage return, line breaks, tabs

string l_strResult = 你的字符串.Replace("\n", "").Replace(" ","").Replace("\t","").Replace("\r","");

Guess you like

Origin www.cnblogs.com/yinmu/p/11076299.html