Miscellaneous
humanize()
Signature
Section titled “Signature”humanize() — returns any
Description
Section titled “Description”Returns readable text by capitalizing and converting camel casing to multiple words.
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
text | string | yes | — | Text to humanize. |
except | string | yes | — | a list of strings (space separated) to replace within the output. |
Examples
Section titled “Examples”humanize(text [, except ]) <!--- 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")#