Skip to content

Miscellaneous

humanize()

humanize() — returns any

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

NameTypeRequiredDefaultDescription
textstringyesText to humanize.
exceptstringyesa list of strings (space separated) to replace within the output.
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")#