Return to v1.4.5 docs

hyphenize()



Converts camelCase strings to lowercase strings with hyphens as word delimiters instead. Example: myVariable becomes my-variable.

Name Type Required Default Description
string string Yes The string to hyphenize.
hyphenize(string) <!--- Outputs "my-blog-post" --->
<cfoutput>
    #hyphenize("myBlogPost")#
</cfoutput>