साँचा:Trim/doc

मुक्त ज्ञानकोश विकिपीडिया से
नेविगेशन पर जाएँ खोज पर जाएँ

{{

 साँचा:namespace detect

| type = notice | image = | imageright = | class = | style = margin-bottom:1.0em; | textstyle = | text = साँचा:strong for साँचा:terminate sentence
It contains usage information, categories and other content that is not part of the original साँचा page. | small = | smallimage = | smallimageright = | smalltext = | subst = | date = | name = }} साँचा:notice

This template trims whitespace from a string. The string should be passed as the first unnamed parameter. You may substitute this template - that is, if used as साँचा:tlxs, the resulting wikicode is "clean".

Usage

{{trim|text}} = text with any leading or trailing whitespace removed.

Example

Template data

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. click here to see a monthly parameter usage report for this template.

TemplateData for Trim

साँचा:template other

The template trims whitespace from a string.

साँचा प्राचल

प्राचलवर्णनप्रकारस्थिति
String1

The string to be trimmed of whitespace

स्ट्रिंगआवश्यक

See also

साँचा:navbox string handling templates