Search
Site Essentials for Statamic

Site Essentials for Statamic

se_str_finish Modifier

The se_str_finish modifier may be used to ensure a given string always ends with the provided cap.

1{{# the value. #}}
2{{ 'the value.' | se_str_finish('.') /}}
3 
4{{# the value. #}}
5{{ 'the value' | se_str_finish('.') /}}