c#去掉字符串中的回车符
2017-02-06
44
c#去掉字符串中的回车符2010-12-28先转换成streamreader类的对象,去掉回车符,再转换回来StreamReader sr=new StreamReader(this.textBox1.Text,System.Text.Encoding.Default);this.textBox2.Text=sr.ReadToEnd().Replace((char)10,"").Replace((char)13,"");this.textBox2.Sele...