Template:Str endswith: Difference between revisions
From Vigyanwiki
Template>Amalthea m (trim input) |
Template>Amalthea (fix) |
||
Line 1: | Line 1: | ||
{{#ifeq: {{str left|{{{1|}}}|{{#expr:{{str len|{{{1|}}}}}-{{str len|{{{2|}}}}}}}}} | {{#ifeq: {{str left|{{{1|}}}|{{#expr:{{str len|{{{1|}}}}}-{{str len|{{{2|}}}}}}}}}{{str trim|{{{2|}}}}} | {{str trim|{{{1|}}}}} | ||
| yes | | yes | ||
}}<noinclude> | }}<noinclude> |