Difference between revisions of "Template:Remove first word"

From annadreambrush.com/wiki
Jump to navigation Jump to search
imported>AGK
m (Changed protection level of Template:Remove first word/any: Highly-visible template (between 700 and 1200 transclusions) (‎[edit=autoconfirmed] (indefinite) ‎[move=sysop] (indefinite)))
imported>Wikid77
(removed unneeded pre-condition of {# if {strfind short...} } because always extracts string, runs 35% faster now, and one less if-structure reduced the expansion level by 1.)
Line 1: Line 1:
{{#if:{{strfind short|{{{1|}}}| |1}}|{{substr any|{{{1|}}}|{{strfind short|{{{1|}}}| |1}}|{{#expr:{{strlen_quick|{{{1|}}}}}-{{strfind short|{{{1|}}}| |1}} }}}}}}<noinclude>
+
{{substr any|{{{1}}}|{{strfind short|{{{1}}}| |1}}|{{#expr:{{strlen_quick|{{{1}}}}}-{{strfind short|{{{1}}}| |1}} }}}}<noinclude>
  
 
{{Documentation}}
 
{{Documentation}}
  
 
</noinclude>
 
</noinclude>

Revision as of 01:37, 31 August 2012

Template:Substr any

Template documentation[create]