You are viewing documentation for v1.1.x. Change

humanize()

Description

Returns readable text by capitalizing and converting camel casing to multiple words.

Function Syntax

humanize(text [, except ])

Parameters

Parameter Type Required Default Description
text string Yes Text to humanize.
except string No a list of strings (space separated) to replace within the output.

Examples

<!--- Humanize a string, will result in "Wheels Is A Framework" --->
#humanize("wheelsIsAFramework")#

<!--- Humanize a string, force wheels to replace "Cfml" with "CFML" --->
#humanize("wheelsIsACFMLFramework", "CFML")#