Skip to content

Global Helpers

titleize()

titleize() — returns string

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

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

NameTypeRequiredDefaultDescription
wordstringyesThe text to turn into a title.
<!--- Will output: CFWheels Is A Framework For ColdFusion --->
#titleize("CFWheels is a framework for ColdFusion")#