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
  • 24,710
  • 51
  • 156
  • 236

0 Answers0