vbscript – Trim

**FUNCTION:** `Trim(string)`

**Description**
Supprime les espaces au début et à la fin d’une chaîne.

**Syntax**
`Trim(string)`

**Paramètres**
– `string` : Chaîne à nettoyer.

**Retour**
Chaîne nettoyée.

**Exemples**
« `vb
WScript.Echo « [ » & Trim( » hello « ) & « ] »
« `

**Output :** `[hello]`

**Voir aussi**
`LTrim`, `RTrim`

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *