3

I have a string which contains some newline character in the end. I am wondering how I could remove the new char using c++. The new line can be \r\n or \n

Adam Lee
  • 23,314
  • 47
  • 144
  • 221

0 Answers0