টেমপ্লেট:Trim brackets
অবয়ব
ব্যবহার[সম্পাদনা]
{{trim brackets|text}}
= text with any leading or trailing square brackets removed (as long as text doesn't contain any =
signs).
{{trim brackets|1=text}}
= text with any leading or trailing square brackets removed.
উদাহরণ[সম্পাদনা]
- "
{{trim brackets|1= [[abc]] }}
" produces "abc".
- "
{{trim brackets|1= [[abc]], [[def]], and [[ghi]] }}
" produces "abc]], def, and [[ghi"
("{{delink|1= [[abc]], [[def]], and [[ghi]] }}
" produces "abc, def, and ghi").
- "
{{trim brackets|1= [[abc|xyz]] }}
" produces "abc|xyz".
টেমপ্লেটডাটা[সম্পাদনা]
নতুন দৃশ্যমান সম্পাদনা দ্বারা ব্যবহৃত টেমপ্লেটের জন্য টেমপ্লেটডাটা নথি।
Trim brackets শীর্ষ
The template trims leading and trailing square brackets from a string.
প্যারামিটার | বিবরণ | ধরন | অবস্থা | |
---|---|---|---|---|
String | 1 | The string to be trimmed | স্ট্রিং | প্রয়োজনীয় |
আরও দেখুন[সম্পাদনা]
- {{delink}}, which does nearly the exact same thing, but also removes balanced pairs of square brackets that aren't leading and trailing and has additional options.
- {{trim}}
টেমপ্লেট:String-handling templates
উপরোক্ত নথিটি টেমপ্লেট:Trim brackets/নথি থেকে প্রতিলিপ্ত। (সম্পাদনা | ইতিহাস) ব্যবহারকারীগণ খেলাঘর (তৈরি করুন | আয়না) এবং পরীক্ষা পাতায় (তৈরি করুন) এই টেমপ্লেট সংক্রান্ত পরীক্ষা-নিরীক্ষা করতে পারেন। দয়া করে /নথি উপপাতায় বিষয়শ্রেণী যোগ করুন। এই টেমপ্লেটের উপপাতাসমূহ। |