(Page créée avec « {{Documentation}} This template removes all whitespace in a string. == Usage == {{tlx|strip whitespace|text}} = <var>text</var> with any whitespace removed. == Examples == *"{{tlx|strip whitespace|Carrack is the best}}" produces "{{strip whitespace|Carrack is the best}}" *"{{tlx|strip whitespace| Carrack nice }}" produces "{{strip whitespace| Carrack nice }}" *"{{tlx|strip whitespace|Best ship in the verse is Carrack }}" produces "{{strip whitespace|Best... ») |
(Aucune différence)
|
Version actuelle datée du 1 mai 2023 à 14:09
This is a documentation subpage for Modèle:Strip whitespace.It contains usage information, categories, and other content that is not part of the original template page.
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