Difference between revisions of "Template:Str endswith"

From All About Ayrshire
Jump to: navigation, search
m (1 revision)
en>MSGJ
(use Module:String per TfD discussion)
Line 1: Line 1:
{{#ifeq:{{#Invoke:String|sub|s={{{1|}}}| -{{#invoke:String|len|s={{{2}}}}} |ignore_errors=true}}|{{{2|}}}|yes}}<noinclude>
+
{{#ifeq:{{{1|a}}}{{{2|a}}}|{{{1|b}}}{{{2|b}}}|{{#invoke:String|endswith|source={{{1}}}|pattern={{{2}}} }}|yes<!--backward compatibility -->}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
<!-- Add categories to the /doc subpage, not here! -->
 
 
</noinclude>
 
</noinclude>

Revision as of 16:16, 30 May 2019

yes

Template documentation[create]