How do I remove the carriage return character (\\r) and the new line character(\\n) from the end of a string?
(\\r)
(\\n)
For us VBers:
TrimEnd(New Char() {ControlChars.Cr, ControlChars.Lf})