Template:Remove first word: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Smith609
(This works...)
 
meta>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