• (ltrim s)
Removes whitespace from the left side of string.
Deprecated in 1.2. Use clojure.string/triml.

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:281 top

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

Comments top

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