How do I remove the carriage return character (\\r) and the new line character(\\n) from the end of a string?
(\\r)
(\\n)
This is what I got to work for me.
s.Replace("\r","").Replace("\n","")