Template:Remove first word: Difference between revisions

From Random Island Wiki
Jump to navigation Jump to search
>Smith609
(strlen_quick)
>Smith609
(Remove word if there's only the one)
Line 1: Line 1:
{{str sub|{{{1|}}}|{{strfind short|{{{1|}}}| |1}}|{{#expr:{{strlen_quick|{{{1|}}}}}-{{strfind short|{{{1|}}}| |1}} }} }}<noinclude>{{documentation}}</noinclude>
{{#if:{{strfind short|{{{1|}}}| |1}}|{{str sub|{{{1|}}}|{{strfind short|{{{1|}}}| |1}}|{{#expr:{{strlen_quick|{{{1|}}}}}-{{strfind short|{{{1|}}}| |1}} }} }}}}<noinclude>{{documentation}}</noinclude>

Revision as of 13:03, 5 February 2011

Template:Str sub