Skip to content

Global Helpers

capitalize()

capitalize() — returns string

Available in: controller, model, mapper, migrator Category: String Functions

Capitalizes all words in the text to create a nicer looking title.

NameTypeRequiredDefaultDescription
textstringyes
<!--- Capitalize a sentence, will result in "Wheels is a framework"--->
#capitalize("wheels is a framework")#