Skip to content

clojure.string/capitalize

View this page on ClojureDocs

Type: function Added: Clojure 1.2 Examples: 3 Runnable: 2
([s])

Converts first character of the string to upper-case, all other characters to lower-case.

Examples

by pkolloch on
by sir-pinecone on . May have evaluation errors.
by jafingerhut on

See also


Content from the matching ClojureDocs page, with authors credited on each contribution.