Difference between revisions of "Template:Str crop"

From Timelines
Jump to: navigation, search
(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 06:11, 26 February 2013

Template:Template doc