string capitalize - part-cw/lambdanative GitHub Wiki

(string-capitalize str)

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"