Difference between revisions of "Template:Str endswith"
From Timelines
(changed from Template:Str_left to use {padleft:| len(1) - len(2) |{1} }, to reduce expansion depth to 14 levels from 16.) |
(Lua version) |
||
Line 1: | Line 1: | ||
− | {{#ifeq: | + | {{#ifeq:{{#Invoke:String|sub|{{{1|}}}| -{{#invoke:String|len|{{{2}}}}} |ignore_errors=true}}|{{{2|}}}|yes}}<noinclude> |
− | |||
− | }}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |
Revision as of 03:14, 26 February 2013
yes
Template documentation[create]
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |