ClojureDocs

Nav

Namespaces

Take the 2025 State of Clojure Survey! Help shape the future of Clojure. Take Survey →

capitalize

clojure.string

Available since 1.2
  • (capitalize s)
Converts first character of the string to upper-case, all other
characters to lower-case.