Template:SC/Strip whitespace/doc
Template page
More actions
Template documentation (for the above template, sometimes hidden or invisible) [create]
- This template doesn't have any documentation yet! Help out by writing some. There may also be documentation on Wikia Templates which can be copied.
This template currently doesn't have any documentation; you can create it if you know how the template is used. (What is this?)
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:SC/Strip whitespace/doc/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/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