Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template:Str endswith/testcases

From Wikipedia, the free encyclopedia
Test1
{{Str endswith|foo (bar)|(bar)}}

{{Str endswith}}

yes

{{Str endswith/sandbox}}

yes

Test2
{{Str endswith|foo|bar}}

{{Str endswith}}


{{Str endswith/sandbox}}


Test3
{{Str endswith|(bar)|foo (bar)}}

{{Str endswith}}


{{Str endswith/sandbox}}


Test4
{{Str endswith|foo bar   |   bar}}

{{Str endswith}}

yes

{{Str endswith/sandbox}}

yes

Test5
{{Str endswith|foo bar   |   bar}}

{{Str endswith}}

yes

{{Str endswith/sandbox}}

yes

Border case 1
{{Str endswith}}

{{Str endswith}}

yes

{{Str endswith/sandbox}}

yes

Border case 2
{{Str endswith||}}

{{Str endswith}}

yes

{{Str endswith/sandbox}}

yes

Border case 3
{{Str endswith|| }}

{{Str endswith}}

yes

{{Str endswith/sandbox}}

yes

Border case 4
{{Str endswith| |}}

{{Str endswith}}

yes

{{Str endswith/sandbox}}

yes

Border case 5
{{Str endswith| |}}

{{Str endswith}}

yes

{{Str endswith/sandbox}}

yes

Border case 6
{{Str endswith|}}

{{Str endswith}}

yes

{{Str endswith/sandbox}}

yes

Border case 7
{{Str endswith|2=}}

{{Str endswith}}

yes

{{Str endswith/sandbox}}

yes

Border case 8
{{Str endswith|foo|}}

{{Str endswith}}

yes

{{Str endswith/sandbox}}

yes

Border case 9
{{Str endswith||foo}}

{{Str endswith}}


{{Str endswith/sandbox}}


Border case 10
{{Str endswith|2=foo}}

{{Str endswith}}

yes

{{Str endswith/sandbox}}

yes

Unicode test 1
{{Str endswith|日本語|語}}

{{Str endswith}}

yes

{{Str endswith/sandbox}}

yes

Unicode test 2
{{Str endswith|語|日本語}}

{{Str endswith}}


{{Str endswith/sandbox}}