موضيل:Str endswith/شرح
المظهر
![]() |
![]() | هذا القالب يستعمل لوا: |
أمتيلا
[بدل لكود]{{str endswith|foo (bar)|(bar)}}
→ yes{{str endswith|foo|bar}}
→{{str endswith|(bar)|foo (bar)}}
→{{str endswith|foo bar | bar}}
→ yes
- border cases
{{str endswith}}
→ yes{{str endswith||}}
→ yes{{str endswith|| }}
→ yes{{str endswith| |}}
→ yes