Template:Remove first word: Difference between revisions

Jump to navigation Jump to search
imported>Smith609
(strlen_quick)
imported>Smith609
(Remove word if there's only the one)
Line 1: Line 1:
{{str sub|{{{1|}}}|{{strfind short|{{{1|}}}| |1}}|{{#expr:{{strlen_quick|{{{1|}}}}}-{{strfind short|{{{1|}}}| |1}} }} }}<noinclude>{{documentation}}</noinclude>
{{#if:{{strfind short|{{{1|}}}| |1}}|{{str sub|{{{1|}}}|{{strfind short|{{{1|}}}| |1}}|{{#expr:{{strlen_quick|{{{1|}}}}}-{{strfind short|{{{1|}}}| |1}} }} }}}}<noinclude>{{documentation}}</noinclude>

Revision as of 18:03, 5 February 2011

Template:Str sub