Skip to content Skip to footer navigation

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>