Skip to main content

$(capitalize)

$(capitalize [text])

Uppercases the first character of the text, leaving the rest unchanged. Variables can be used inside.

$(capitalize hello world)

Will display "Hello world"

$(capitalize {{username}})

Will display the username with its first letter capitalized