Difference between revisions of "Template:Remove first word"

From annadreambrush.com/wiki
Jump to navigation Jump to search
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.)
imported>WOSlinker
(separate pp-template not needed)
 
(8 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{substr any|{{{1}}}|{{strfind short|{{{1}}}| |1}}|{{#expr:{{strlen_quick|{{{1}}}}}-{{strfind short|{{{1}}}| |1}} }}}}<noinclude>
+
{{<includeonly>safesubst:</includeonly>#invoke:String|replace|source={{{1}}}|pattern=^[^{{{sep|%s}}}]*{{{sep|%s}}}*|replace=|plain=false}}<noinclude>{{Documentation}}</noinclude>
 
 
{{Documentation}}
 
 
 
</noinclude>
 

Latest revision as of 21:10, 13 February 2018

Template documentation[create]