Template:Str endswith: Difference between revisions

From MINR.ORG WIKI
w>Amalthea
create template; return "yes" if the first parameter string ends with the second parameter string.
 
m 11 revisions imported: Imported Category TOC from wikipedia
 
(10 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{#ifeq: {{str left|{{{1|}}}|{{#expr:{{str len|{{{1|}}}}}-{{str len|{{{2|}}}}}}}}}{{{2|}}} | {{{1|}}}
{{#invoke:Str endswith|main}}<noinclude>
  | yes
}}<noinclude>
 
{{documentation}}
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Latest revision as of 17:56, 11 August 2017

yes

Template documentation[create]