Template:Remove first word: Difference between revisions

From Random Island Wiki
Jump to navigation Jump to search
>Smith609
(Improve performance with Template:Strfind_short)
>Smith609
(Length of needle)
Line 1: Line 1:
{{str sub|{{{1|}}}|{{strfind short|{{{1|}}}| }}|{{#expr:{{str len|{{{1|}}}}}-{{strfind short|{{{1|}}}| }} }} }}<noinclude>{{documentation}}</noinclude>
{{str sub|{{{1|}}}|{{strfind short|{{{1|}}}| |1}}|{{#expr:{{str len|{{{1|}}}}}-{{strfind short|{{{1|}}}| |1}} }} }}<noinclude>{{documentation}}</noinclude>

Revision as of 12:17, 5 February 2011

Template:Str sub