Difference between revisions of "Template:Str endswith"

From Wikispooks
Jump to navigation Jump to search
m (1 revision: refesh WP citation templates)
 
m (1 revision imported)
 
(5 intermediate revisions by 2 users not shown)
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 and interwikis to the /doc subpage, not here! -->
 
 
</noinclude>
 
</noinclude>

Latest revision as of 16:29, 25 November 2019

yes

Template documentation[create]