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