টেমপ্লেট:First word

এই টেমপ্লেটটি স্থানান্তর করা থেকে সুরক্ষিত।
এই টেমপ্লেটটি সুরক্ষিত।
উইকিপিডিয়া, মুক্ত বিশ্বকোষ থেকে

{{{1}}}

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

ব্যবহার

Returns the first word of the first parameter. By default, words are delimited by spaces, but optional parameter sep=/ can set the word separator to slash (or any other character). The parameter should not have leading spaces, unless the word separator, sep, is set to another character.

উদাহরণ

  • {{first word|Foo bar baz}} → Foo
  • {{first word|Foo}} → Foo
  • {{first word|Foo-bar-baz}} → Foo-bar-baz
  • {{first word|Foo-bar-baz|sep=- }} → Foo
  • {{first word|34,000,500|sep=, }} → 34
  • {{first word|1=len = a+b |sep== }} → len
  • {{first word|Hear ye, users |sep=, }} → Hear ye

আরও দেখুন

টেমপ্লেট:String-handling templates