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
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 →