Skip to content Skip to footer navigation
🏰 Statamic Summit 2027 Feb 16–19 Talks, workshops, and three nights in a German castle. Get Tickets

Repeat Modifier

Repeats a value any given number of times. For fun.

line: 'Beatlejuice '
{{ line | repeat(3) }}
{{ Statamic::modify($line)->repeat(3) }}
Beatlejuice Beatlejuice Beatlejuice