Global Helpers
titleize()
Signature
Section titled “Signature”titleize() — returns string
Available in: controller, model, mapper, migrator, migration, tabledefinition
Category: String Functions
Description
Section titled “Description”Capitalizes all words in the text to create a nicer looking title.
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
word | string | yes | — | The text to turn into a title. |
Examples
Section titled “Examples”<!--- Will output: CFWheels Is A Framework For ColdFusion --->
#titleize("CFWheels is a framework for ColdFusion")#