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.

साच्याचे प्राचल (पॅरामिटर्स)

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

The string to be trimmed of whitespace

तंतूहवे

See also संपादन


साचा:String-handling templates