Template:Str endswith: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Amalthea
create template; return "yes" if the first parameter string ends with the second parameter string.
 
Ookami (talk | contribs)
m 12 revisions imported
 
(11 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{#ifeq: {{str left|{{{1|}}}|{{#expr:{{str len|{{{1|}}}}}-{{str len|{{{2|}}}}}}}}}{{{2|}}} | {{{1|}}}
{{#ifeq:{{{1|a}}}{{{2|a}}}|{{{1|b}}}{{{2|b}}}|{{#invoke:String|endswith|source={{{1}}}|pattern={{{2}}} }}|yes<!--backward compatibility -->}}<noinclude>
  | yes
}}<noinclude>
 
{{documentation}}
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Latest revision as of 04:48, 3 September 2020

yes