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

Surround Modifier

Surrounds a string with another string.

string: ' ͜ '
{{ string | surround('ʘ') }}
{{ Statamic::modify($string)->surround('ʘ') }}
ʘ ͜ ʘ