This is a documentation subpage for Template:Strip whitespace.It contains usage information, categories, and other content that is not part of the original template 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