Difference between revisions of "Template:Str crop"

From Timelines
Jump to: navigation, search
({{str_left|{{{1}}}|{{#expr:{{str_len|{{{1}}}}}-{{{2}}}}}}})
 
(add safesubst:)
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{str_left|{{{1}}}|{{#expr:{{str_len|{{{1}}}}}-{{{2}}}}}}}<noinclude>
+
<includeonly>{{safesubst:#invoke:String | sub | s={{{1|}}} | 1 | {{safesubst:#expr: -{{{2|1}}} - 1}} | ignore_errors=true }}</includeonly><noinclude>
{{template doc}}</noinclude>
+
{{documentation}}</noinclude>

Latest revision as of 06:37, 16 April 2015

Template documentation[create]