Template:Remove first word: Difference between revisions

From TEPwiki, Urth's Encyclopedia
Jump to navigation Jump to search
Content added Content deleted
(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.)
m (21 revisions imported)
 
(9 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{<includeonly>safesubst:</includeonly>#invoke:String|replace|source={{{1}}}|pattern=^[^{{{sep|%s}}}]*{{{sep|%s}}}*|replace=|plain=false}}<noinclude>{{Documentation}}</noinclude>
{{substr any|{{{1}}}|{{strfind short|{{{1}}}| |1}}|{{#expr:{{strlen_quick|{{{1}}}}}-{{strfind short|{{{1}}}| |1}} }}}}<noinclude>

{{Documentation}}

</noinclude>

Latest revision as of 16:52, 23 April 2019