Skip to content Skip to footer navigation
You are reading the Statamic 6 Alpha docs. πŸ‘€

Surround Modifier

Surrounds a string with another string.

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