Radical Design Course by Jack McDade

From the creator of Statamic

Learn how to make your websites standout and be remembered.

Just exceptional. Thank you so much, Jack, you smashed it.

— Hugo, Developer

explode Modifier

Breaks a string into an array of strings split on a given delimiter.

places: Scotland, England, Switzerland, Italy
{{ places | explode(',') | ul }}
{!! Statamic::modify($places)->explode(',')->ul() !!}
<ul>
<li>Scotland</li>
<li>England</li>
<li>Switzerland</li>
<li>Italy</li>
</ul>
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →