Return to v2.0 docs

hyphenize()


Global Helpers String Functions string controller model mapper migrator


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.
<!---Outputs "my-blog-post" --->
#hyphenize("myBlogPost")#

Related Functions

String Functions