1.2.0 permalink Arrow_down_16x16
  • (rtrim s)
Removes whitespace from the right side of string.
Deprecated in 1.2. Use clojure.string/trimr.

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/string.clj:288 top

(defn ^String rtrim
  "Removes whitespace from the right side of string.
   Deprecated in 1.2. Use clojure.string/trimr."
  {:deprecated "1.2"}
  [^String s]
  (replace-re #"\s+$" "" s))
Vars in clojure.contrib.string/rtrim: defn
Used in 0 other vars

Comments top

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