Template:Trim/doc

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, the resulting wikicode is "clean".

Usage
= text with any leading or trailing whitespace removed.

Example

 * produces.

Template data
{       "description": "The template trims whitespace from a string.", "params": { "string": { "label": "Alpha-numeric text", "description": "The string to be trimmed of whitespace", "type": "string", "required": true }       } }