ClojureDocs

导航

命名空间

trim-newline

clojure.string

1.2 版起可用
  • (trim-newline s)
Removes all trailing newline \n or return \r characters from
string.  Similar to Perl's chomp.