Template:Str endswith
- English
- 日本語
- 中文
- русский
- italiano
- português
- العربية
- аԥсшәа
- Afrikaans
- الدارجة
- asturianu
- azərbaycanca
- تۆرکجه
- Basa Bali
- беларуская
- беларуская (тарашкевіца)
- বাংলা
- bosanski
- Chavacano de Zamboanga
- нохчийн
- Cebuano
- کوردی
- corsu
- dansk
- Zazaki
- Ελληνικά
- فارسی
- føroyskt
- Bahasa Hulontalo
- ગુજરાતી
- Gaelg
- Hausa
- עברית
- hrvatski
- magyar
- Jaku Iban
- Bahasa Indonesia
- Igbo
- Ilokano
- гӀалгӀай
- íslenska
- Jawa
- ქართული
- 한국어
- kurdî
- Ligure
- lietuvių
- latviešu
- मैथिली
- мокшень
- Māori
- македонски
- മലയാളം
- монгол
- ဘာသာမန်
- Bahasa Melayu
- မြန်မာဘာသာ
- مازِرونی
- Napulitano
- Plattdüütsch
- नेपाली
- Chi-Chewa
- ଓଡ଼ିଆ
- ਪੰਜਾਬੀ
- پښتو
- română
- tarandíne
- sicilianu
- Scots
- سنڌي
- srpskohrvatski / српскохрватски
- တႆး
- Simple English
- slovenščina
- shqip
- српски / srpski
- Sunda
- Sakizaya
- தமிழ்
- తెలుగు
- ไทย
- Tagalog
- Türkçe
- українська
- اردو
- Tiếng Việt
- 粵語
This documentation is transcluded from Template:Str endswith/doc.
| This template is used in system messages. Changes to it can cause immediate changes to the Wikimedia user interface. |
| Uses Lua: |
- Usage
- Returns yes if a string ends with a specified suffix, nothing otherwise.
- Note: if you want to edit this template, first try your modifications on {{Str endswith/sandbox}}.You can then test your edits in {{Str endswith/testcases}}.
When the new version is ready, you can move it to the main template.
- Examples
{{Str endswith|example/doc|/doc}}→ yes{{Str endswith|example|/doc}}→ "" (nothing)
- but be careful - no end trimming!
{{Str endswith|example/doc| /doc}}→ yes{{Str endswith|example/doc|/doc }}→{{Str endswith|example/doc| /doc }}→
- Syntax
{{Str endswith | <string> | <suffix> | nocategory=<nocategory> }}
- Parameters
- <string>
- the tested string
- <suffix>
- the suffix to be searched at the end of the tested <string>
- nocategory=<nocategory>
- Not used, should be removed from doc and template Category:String manipulation templates