normalize-space

We’d love to hear your thoughts on the next set of proposals for the JavaScript language. You can find a description of the proposals here.
Please take two minutes to fill out our short survey.

La fonction normalize-space supprime les espaces de début et de fin d'une chaîne et remplace les successions d'espaces par une seule puis retourne la chaîne résultante.

Syntaxe

normalize-space(chaîne )

Arguments

chaîne

La chaîne à normaliser.

Retour

La chaîne nomalisée.

Définition

Support Gecko

Supportée.