sctools>Alistair3149 無編輯摘要 |
小 (导入1个版本:Imported from Star Citizen Wiki) |
||
(無差異)
|
於 2023年8月24日 (四) 00:08 的最新修訂
該說明文檔嵌入自 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