該說明文檔嵌入自 Template:Strip whitespace/doc,可通過討論頁面進行更改請求。
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 "Carrackisthebest" - "
{{strip whitespace|Carrack nice}}
" produces "Carracknice" - "
{{strip whitespace|Best ship in the verse is Carrack}}
" produces "BestshipintheverseisCarrack"
See also
- {{Trim}} - used to remove leading and trailing whitespace