Wiktenauer logo.png

Template:Str endswith

From Wiktenauer
Jump to navigation Jump to search

yes

[edit] [history] [purge] Documentation icon Template documentation

This is the {{str endswith}} meta-template.

It returns "yes" if the first parameter ends with the second parameter. It uses both {{str left}} and {{str len}}, so it's subject to their limitations. Both parameters are trimmed before use.

Examples

border cases

See also