This documentation is transcluded from Template:Strip whitespace/doc. Changes can be proposed in the talk page.
Template:Strip whitespace invokes function replace in Module:String using Lua.
This template removes all whitespace in a string.
Usage
{{strip whitespace|<text>}}
= text with any whitespace removed.
Examples
- "
{{strip whitespace|<Z-Type is the best>}}
" produces "Z-Typeisthebest" - "
{{strip whitespace|< Z-Type nice >}}
" produces "Z-Typenice" - "
{{strip whitespace|<Best car in the city is the Z-Type >}}
" produces "BestcarinthecityistheZ-Type"
See also
- {{Trim}} - used to remove leading and trailing whitespace