Share via


small, méthode

Retourne une chaîne avec des balises HTML <SMALL> avant et après le texte d'un objet String.

function small() : String

Notes

Aucune vérification n'est effectuée pour savoir si la balise a déjà été appliquée à la chaîne.

Exemple

L'exemple suivant illustre l'utilisation de la méthode small :

var strVariable = "This is a string";
strVariable = strVariable.small();

La valeur de strVariable après la dernière instruction est :

<SMALL>This is a string</SMALL>

Configuration requise

Version 1

S'applique à :

String, objet

Voir aussi

Référence

big, méthode