Module:Trim quotes
- অসমীয়া
- Авар
- Azərbaycanca
- تۆرکجه
- Basa Bali
- Bikol Central
- বাংলা
- Bosanski
- 閩東語 / Mìng-dĕ̤ng-ngṳ̄
- کوردی
- Corsu
- Ελληνικά
- English
- Español
- فارسی
- Français
- Gaeilge
- ગુજરાતી
- Gaelg
- 客家語 / Hak-kâ-ngî
- עברית
- Bahasa Indonesia
- Íslenska
- 日本語
- Taqbaylit
- 한국어
- Kurdî
- Luganda
- Ladin
- Minangkabau
- മലയാളം
- ဘာသာမန်
- Bahasa Melayu
- မြန်မာဘာသာ
- नेपाली
- ਪੰਜਾਬੀ
- Português
- سنڌي
- Taclḥit
- တႆး
- සිංහල
- Simple English
- Slovenščina
- Shqip
- Српски / srpski
- ไทย
- Tagalog
- Türkçe
- اردو
- Vèneto
- Tiếng Việt
- ייִדיש
- 閩南語 / Bân-lâm-gí
- 粵語
- 中文
Appearance
From Meta, a Wikimedia project coordination wiki
Module documentation
You might want to create a documentation page for this Scribunto module.
Editors can experiment in this module’s sandbox (create | mirror) and testcases (create) pages.
Please add categories to the /doc subpage. Subpages of this module.
Editors can experiment in this module’s sandbox (create | mirror) and testcases (create) pages.
Please add categories to the /doc subpage. Subpages of this module.
localp={} functionp._trim(s) ifsthen ifs:match([[^(['"]).*%1$]]) then return p._trim(string.sub(s,2,-2)) else return s end else return "" end end function p.trim(frame) local s = (frame.args['s'] or frame.args[1]) or (frame:getParent().args['s'] or frame:getParent().args[1]) return p._trim(s) end return p