chomp removes trailing newline characters.
In reply to Re: How to eliminate "/n" from text by geektron in thread How to eliminate "/n" from text by Deib