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>
Docs Feedback
Submit improvements, related content, or suggestions through Github.
Betterify this page