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

join Modifier

Turn an array into a string by gluing together all the data with any specified delimiter. It uses a comma by default.

tasks:
- take a shower
- brush hair
- clip toenails
{{ tasks | join }}
{{ tasks | join(" + ") }} = ready
{{ Statamic::modify($tasks)->join() }}
{{ Statamic::modify($tasks)->join(' + ') }} = ready
take a shower, brush hair, clip toenails
take a shower + brush hair + clip toenails = ready
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →