Template:Remove first word: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Smith609
strlen_quick
meta>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 18:03, 5 February 2011

Template:Str sub