Template:Strip whitespace

Template page
Revision as of 14:03, 21 January 2023 by Momo (talk | contribs) (Created page with "<includeonly>{{#if:{{{1|}}}|{{#invoke:String|replace|source={{{1}}}|pattern=%s|replace=|plain=false}}}}</includeonly><noinclude>{{/doc}}</noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation[view][edit][history][purge]
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

See also

  • {{Trim}} - used to remove leading and trailing whitespace