Modèle:Trim/doc Voir l’historique

Révision datée du 23 février 2017 à 15:06 par Deeploz (discussion | contributions) (Page créée avec « {{doc subpage}} <!-- ADD DOCUMENTATION BELOW THIS LINE --> This template trims whitespace from a string. The string should be passed as the first unnamed parameter. == U... »)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
This is a documentation subpage for Modèle:Trim.
It contains usage information, categories and other content that is not part of the original modèle page.

This template trims whitespace from a string. The string should be passed as the first unnamed parameter.

Usage

{{trim|text}} = text with any leading or trailing whitespace removed.

Example

  • {{trim| abc}} produces abc.