টেমপ্লেট:Str endswith

উইকিপিডিয়া, মুক্ত বিশ্বকোষ থেকে

yes

নথি আইকন টেমপ্লেট নথি[দেখুন] [সম্পাদনা] [ইতিহাস] [শোধন]


This is the {{str endswith}} meta-template.

It returns "yes" if the first parameter ends with the second parameter. It uses both {{str left}} and {{str len}}, so it's subject to their limitations. Both parameters are trimmed before use.

উদাহরণ[সম্পাদনা]

  • {{str endswith|foo (bar)|(bar)}} → yes
  • {{str endswith|foo|bar}}
  • {{str endswith|(bar)|foo (bar)}}
  • {{str endswith|foo bar   |   bar}} → yes
সীমানা ক্ষেত্রে
  • {{str endswith}} → yes
  • {{str endswith||}} → yes
  • {{str endswith|| }} → yes
  • {{str endswith| |}} → yes
  • {{str endswith|[499 characters]X|X}} → yes
  • {{str endswith|[499 characters]X|Y}}
  • {{str endswith|[499 characters]X|[same 499 characters]X}} → yes
  • {{str endswith|[499 characters]X|[same 499 characters]Y}}
  • {{str endswith|[500 characters]X|X}} → yes Red XN
  • {{str endswith|[500 characters]X|Y}}

আরও দেখুন[সম্পাদনা]

টেমপ্লেট:String templates see also