Skip to content
Chris Petersen edited this page Oct 16, 2014 · 1 revision

string-capitalize converts the first letter of every word in a string to an uppercase. Non first letters will be converted to lower case.

Parameter Description
str Input string

Example

Example 1: Show the usage of string-capitalize

> (string-capitalize "hello you. Hello hELLO - *hello")
"Hello You. Hello Hello - *Hello"
Clone this wiki locally