Replaces all hyphens and underscores in a string with spaces. The opposite of dashify.
title: Just-Because-I-Can
{{ title | deslugify }}
{{ Statamic::modify($title)->deslugify() }}
Just Because I Can
deslugify
ModifierReplaces all hyphens and underscores in a string with spaces. The opposite of dashify.
title: Just-Because-I-Can
{{ title | deslugify }}
{{ Statamic::modify($title)->deslugify() }}
Just Because I Can
Submit improvements, related content, or suggestions through Github.
Betterify this page →