Template:SC/Strip whitespace
Template page
More actions
Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]
Template loop detected: Template:SC/Strip whitespace/doc
The above text is transcluded from Template:SC/Strip whitespace/doc; you can change it or view its history.
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:SC/Strip whitespace/doc. (View all subpages of this page.)
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:SC/Strip whitespace/doc. (View all subpages of this page.)
This template removes all whitespace in a string.
Usage
{{strip whitespace|text}} = text with any whitespace removed.
Examples
- "{{strip whitespace|Carrack is the best}}" produces "Template:Strip whitespace"
- "{{strip whitespace| Carrack nice}}" produces "Template:Strip whitespace"
- "{{strip whitespace|Best ship in the verse is Carrack}}" produces "Template:Strip whitespace"
See also
- {{Trim}} - used to remove leading and trailing whitespace