Template:Remove first word: Difference between revisions

From Random Island Wiki
Jump to navigation Jump to search
>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.)
m (1 revision imported)
 
(9 intermediate revisions by 8 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 10:57, 6 September 2021