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

Remove Left Modifier

Ensures that the string never begins with a specified string.

twitter: '@statamic'
<a href="http://twitter.com/{{ twitter | remove_left('@') }}">Twitter</a>
<a href="http://twitter.com/{{ Statamic::modify($twitter)->removeLeft('@') }}">Twitter</a>
<a href="http://twitter.com/statamic">Twitter</a>