Skip to main content
Home
Docs
Courses
Workshops
Jobs
Podcast
Sign in
Docs
Reference
Clojure
clojure.string
capitalize
capitalize
function
v1.2
clojure.string/capitalize
Available in:
BB
CLJ
CLJS
(
capitalize
[
s
]
)
Converts first character of the string to upper-case, all other characters to lower-case.
Examples
Sign in to contribute
Code
Platforms
Clojure
ClojureScript
Babashka
Submit
Cancel
No examples yet. Be the first to add one!
Categories
Strings › Manipulation
See Also
blank?
ends-with?
escape
includes?
index-of
join
last-index-of
lower-case
re-quote-replacement
replace
View source on GitHub ↗
← blank?
ends-with? →
All
⌘1
Clojure
⌘2
ClojureScript
⌘3
Babashka
⌘4