Template:Remove first word: Difference between revisions

Jump to navigation Jump to search
imported>Smith609
(This works...)
 
imported>Smith609
(No need for if; improve performance)
Line 1: Line 1:
{{#ifeq:{{str find|{{{1|}}}| }}|-1|{{{1|}}}|{{str sub|{{{1|}}}|{{str find|{{{1|}}}| }}|{{#expr:{{str len|{{{1|}}}}}-{{str find|{{{1|}}}| }} }} }} }}
{{str sub|{{{1|}}}|{{str find|{{{1|}}}| }}|{{#expr:{{str len|{{{1|}}}}}-{{str find|{{{1|}}}| }} }} }}
<noinclude>{{documentation}}</noinclude>
<noinclude>{{documentation}}</noinclude>

Revision as of 22:18, 4 February 2011

Template:Str sub