Difference between revisions of "Template:Str crop"

From Timelines
Jump to: navigation, search
(Lua version)
(Undid revision 540565508 by Dragons flight - Doesn't work for all options)
Line 1: Line 1:
<includeonly>{{ #invoke:String | sub | s={{{1|}}} | 1 | {{#expr: -{{{2|1}}} - 1}} }}</includeonly><noinclude>
+
{{str_left|{{{1}}}|{{#expr:{{str_len|{{{1}}}}}-{{{2}}}}}}}<noinclude>
 
{{template doc}}</noinclude>
 
{{template doc}}</noinclude>

Revision as of 06:05, 26 February 2013

Template:Template doc