Nous n’avons pas trouvé cette entrée. Affichage de résultats approximatifs. Vérifiez l’orthographe ou proposez d’ajouter ce terme au dictionnaire.
l'objet String
Prototype enhances the String object with a series of useful methods ranging from the trivial to the complex.
Prototype améliore l'objet String avec une série de méthodes utiles allant du trivial au complexe.
You can call any of the methods of the String object on a string literal value-JavaScript automatically converts the string literal to a temporary String object, calls the method, then discards the temporary String object.
Chacune des méthodes de l'objet String peut être utilisée sur une valeur qui est un littéral de chaîne de caractères (pour ce faire, JavaScript convertit automatiquement le littéral en un objet String temporaire, appelle la méthode voulue puis supprime l'objet temporaire).
The String instance methods are also available in Firefox as of JavaScript 1.6 (though not part of the ECMAScript standard) on the String object for applying String methods to any object
Les méthodes pour les instances de String sont également disponibles, pour Firefox et JavaScript 1.6, sur l'objet String afin d'appliquer des méthodes de String à n'importe quel objet. Cela ne fait pas partie du standard ECMAScript.
The String object now has trim(), trimLeft(), and trimRight() methods.
L'objet String dispose à présent des méthodes trim(), trimLeft() et trimRight(). Réseau
Copies a specified number of characters from a specified position of the string object to a specified position in an array of Unicode characters.
Copie un nombre spécifié de caractères à partir d'une position spécifiée de l'objet de chaîne à une position spécifiée dans un tableau de caractères Unicode.
The script method exposes the Split() method of the System.String.NET Framework Class Library class to make it convenient to return the individual words in a string by calling a method named "Words" on the string object.
La méthode de script expose la méthode Split() de la classe de bibliothèque de classes.NET Framework System.String pour permettre le retour de mots individuels dans une chaîne via l'appel d'une méthode nommée « Words » sur l'objet chaîne.
The corresponding password When passing the second parameter, call the String object's toCharArray method.
Lors de la transmission du deuxième paramètre, appelez la méthode toCharArray de l'objet String.
See the substring method of the String object in the JavaScript Reference for more information.
Pour plus d'informations sur les tableaux typés, voir l'article de la référence sur les différents objets TypedArray.
The String object's charAt() method returns a new string consisting of the single UTF-16 code unit located at the specified offset into the string.
La méthode charAt() renvoie une nouvelle chaîne contenant le caractère (ou, plus précisément, le point de code UTF-16) à la position indiquée en argument.
Contenu potentiellement sensible ou inapproprié
Les exemples vous aident à traduire le mot ou l’expression cherchés dans des contextes variés. Ils ne sont ni sélectionnés ni validés par nous et peuvent contenir des mots ou des idées inappropriés. Signalez des exemples à modifier ou à retirer. Les traductions potentiellement sensibles, inappropriées ou familières sont généralement marquées de rouge ou d’orange.