Template:Remove first word: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Smith609
Remove word if there's only the one
meta>Rich Farmbrough
No edit summary
Line 1: Line 1:
{{#if:{{strfind short|{{{1|}}}| |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:50, 12 February 2011

Template:Str sub