1.2.0 permalink Arrow_down_16x16
  • (rtrim s)
Removes whitespace from the right side of string.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/contrib/str_utils2.clj:302 top

(defn ^String rtrim
  "Removes whitespace from the right side of string."
  [^String s]
  (replace s #"\s+$" ""))
Vars in clojure.contrib.str-utils2/rtrim: defn replace
Used in 0 other vars

Comments top

No comments for rtrim. Log in to add a comment.