Difference between revisions of "Template:Str crop"

From MINR.ORG WIKI
(Undid revision 540565508 by Dragons flight - Doesn't work for all options)
(Lua with no errors)
Line 1: Line 1:
{{str_left|{{{1}}}|{{#expr:{{str_len|{{{1}}}}}-{{{2}}}}}}}<noinclude>
+
<includeonly>{{ #invoke:String | sub | s={{{1|}}} | 1 | {{#expr: -{{{2|1}}} - 1}} | ignore_errors=true }}</includeonly><noinclude>
 
{{template doc}}</noinclude>
 
{{template doc}}</noinclude>

Revision as of 15:11, 26 February 2013