Дополнительные действия
(Created page with "{{Documentation}} This template removes all whitespace in a string. == Usage == {{tlx|strip whitespace|text}} = <var>text</var> with any whitespace removed. == Examples == *...") |
Platon (обсуждение | вклад) м (1 версия импортирована) |
(нет различий)
|
Текущая версия от 22:30, 17 августа 2023
message_subpage_title
message_subpage_desc
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