Template:Remove first word: Difference between revisions
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> |