Difference between revisions of "Template:Remove first word"

From annadreambrush.com/wiki
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 23:18, 4 February 2011

Template:Str sub

Template documentation[create]