(trim-newline s)
Removes all trailing newline \ or return \\r characters from string. Similar to Perl's chomp.
<pre>\r user=> (clojure.string/trim-newline "test\ \\r")\r "test"\r </pre>