Template:Remove first word: Difference between revisions

From Vigyanwiki
(This works...)
 
(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 03:48, 5 February 2011

Template:Str sub

Template documentation