kernelp4nic
5/12/2015 - 5:29 PM

title case word clojure

title case word clojure

(defn- title-case-word [w]
  (if (zero? (count w))
    w
    (str (Character/toTitleCase (first w))
         (subs w 1))))