Difference between revisions of "Template:Str endswith"

From MINR.ORG WIKI
(Lua version)
(trimming is expected)
Line 1: Line 1:
{{#ifeq:{{#Invoke:String|sub|{{{1|}}}| -{{#invoke:String|len|{{{2}}}}} |ignore_errors=true}}|{{{2|}}}|yes}}<noinclude>
+
{{#ifeq:{{#Invoke:String|sub|s={{{1|}}}| -{{#invoke:String|len|s={{{2}}}}} |ignore_errors=true}}|{{{2|}}}|yes}}<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 13:16, 26 February 2013

yes

Template documentation[create]