Difference between revisions of "Template:Str crop"

From Timelines
Jump to: navigation, search
m (Protected Template:Str crop: Highly visible template ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite)))
(Lua version)
Line 1: Line 1:
{{str_left|{{{1}}}|{{#expr:{{str_len|{{{1}}}}}-{{{2}}}}}}}<noinclude>
+
<includeonly>{{ #invoke:String | sub | s={{{1|}}} | 1 | {{#expr: -{{{2|1}}} - 1}} }}</includeonly><noinclude>
 
{{template doc}}</noinclude>
 
{{template doc}}</noinclude>

Revision as of 01:45, 26 February 2013

Template:Template doc