首页 > 代码库 > WinForm------TextEdit控件去掉换行符

WinForm------TextEdit控件去掉换行符

//将换行转为空格string str = this.DetailEdit.Text.Replace("\r\n"," ");

 

WinForm------TextEdit控件去掉换行符