টেমপ্লেট:প্রথম শব্দ অপসারণ: সংশোধিত সংস্করণের মধ্যে পার্থক্য

উইকিপিডিয়া, মুক্ত বিশ্বকোষ থেকে
imported>Peter coxhead
Constructing version which will handle 'accented characters'
Arcticocean (আলোচনা | অবদান)
Protected Template:Remove first word/any: Highly-visible template (TW) (‎[edit=autoconfirmed] (indefinite))
(কোনও পার্থক্য নেই)

২২:৪৬, ২১ এপ্রিল ২০১২ তারিখে সংশোধিত সংস্করণ


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

This template removes the first word of the first parameter. Use |1= for the first parameter if the string may contain an equals sign (=). By default, words are delimited by spaces, but the optional parameter |sep= can set the separator to any character.

ব্যবহার

One parameter (space as separator):

  • {{প্রথম শব্দ অপসারণ|string}}
  • {{প্রথম শব্দ অপসারণ|1=string}}

Two parameters (user-defined character as separator):

  • {{প্রথম শব্দ অপসারণ|string|sep=character}}
  • {{প্রথম শব্দ অপসারণ|1=string|sep=character}}

উদাহরণ

  • {{প্রথম শব্দ অপসারণ|Fôo bår bàz}} → bår bàz
  • {{প্রথম শব্দ অপসারণ| Fôo bår bàz}}
  • {{প্রথম শব্দ অপসারণ| a b}} → b
  • {{প্রথম শব্দ অপসারণ|Fôo-bår}} → Fôo-bår
  • {{প্রথম শব্দ অপসারণ|Fôo-bår bàz}} → bàz
  • {{প্রথম শব্দ অপসারণ|Fôo-bår bàz|sep=-}} → bàz
  • {{প্রথম শব্দ অপসারণ|34,000,500|sep=,}} → 34,000,500
  • {{প্রথম শব্দ অপসারণ|Hear ye, users|sep=,}} → ye, users
  • {{প্রথম শব্দ অপসারণ|1=len = a+b|sep==}} → = a+b

আরও দেখুন

টেমপ্লেট:স্ট্রিং-হ্যান্ডলিং টেমপ্লেট