টেমপ্লেট:প্রথম শব্দ অপসারণ

উইকিপিডিয়া, মুক্ত বিশ্বকোষ থেকে
(টেমপ্লেট:Remove first word থেকে পুনর্নির্দেশিত)
টেমপ্লেট নথি[দেখুন] [সম্পাদনা] [ইতিহাস] [শোধন]

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

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

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