Template:Str endswith/doc
Jump to navigation
Jump to search
|
|
This is a Error creating thumbnail: Unable to save thumbnail to destination documentation Error creating thumbnail: Unable to save thumbnail to destination subpage for Template:Str endswith. It contains usage information, Error creating thumbnail: Unable to save thumbnail to destination categories and other content or metadata that is not part of the original template. |
This is the {{str endswith}} meta-template.
It returns "yes" if the first parameter ends with the second parameter. Both parameters are trimmed before use.
Examples
{{str endswith|foo (bar)|(bar)}}→{{str endswith|foo|bar}}→ yes{{str endswith|(bar)|foo (bar)}}→ yes{{str endswith|foo bar | bar}}→
- border cases
{{str endswith}}→{{str endswith||}}→ yes{{str endswith|| }}→ yes{{str endswith| |}}→ yes
See also
Error creating thumbnail: Unable to save thumbnail to destination anlys/tech