साचा:Trim/doc
This template is used on ८,४४,०००+ pages. To avoid large-scale disruption and unnecessary server load, any changes to it should first be tested in its /sandbox or /testcases subpages or in your own user subpage. The tested changes can then be added to this page in a single edit. Please consider discussing any changes on the talk page before implementing them. |
This template is for trimming whitespace from strings. For the maintenance tag for images, see {{trimming}} |
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 {{subst:trim}}, the resulting wikicode is "clean".
Usage
संपादन{{trim|text}} = text with any leading or trailing whitespace removed.
Example
संपादन- "
{{trim| abc}}
" produces "abc"
Template data
संपादनयथादृश्यसंपादक व इतर साधनांसाठी वापरण्यात येणारे हे टेम्प्लेटडाटा दस्तावेजीकरण आहे.
Trim साठी टेम्प्लेटडाटा
The template trims whitespace from a string.
प्राचल | वर्णन | प्रकार | स्थिती | |
---|---|---|---|---|
String | 1 | The string to be trimmed of whitespace | तंतू | हवे |
See also
संपादन- {{crop}}
साचा:String-handling templates