Results 21 - 40 of 57

String.prototype.toUpperCase()

The toUpperCase() method returns the calling string value converted to upper case.
JavaScript Method Prototype Reference String

String.prototype.trimLeft()

The trimLeft() method removes whitespace from the left end of a string.
JavaScript Method Prototype Reference String

String.prototype.trimRight()

The trimRight() method removes whitespace from the right end of a string.
JavaScript Method Prototype Reference String

String.prototype.valueOf()

The valueOf() method returns the primitive value of a String object.
JavaScript Method Prototype Reference String

DOMString

DOMString is a UTF-16 String. As JavaScript already uses such strings, DOMString is mapped directly to a String.
API DOM DOM Reference Reference Référence String

String.prototype[@@iterator]()

The [@@iterator]() method returns a new Iterator object that iterates over the code points of a String value, returning each code point as a String value.
ECMAScript6 Iterator JavaScript Method Prototype Reference String

String.prototype.codePointAt()

The codePointAt() method returns a non-negative integer that is the Unicode code point value.
ECMAScript6 JavaScript Method Prototype Reference String

String.prototype.localeCompare()

The localeCompare() method returns a number indicating whether a reference string comes before or after or is the same as the given string in sort order.
Internationalization JavaScript Method Prototype Reference String

String.prototype.match()

The match() method retrieves the matches when matching a string against a regular expression.
JavaScript Method Prototype Reference Regular Expressions String

String.prototype.normalize()

The normalize() method returns the Unicode Normalization Form of a given string (if the value isn't a string, it will be converted to one first).
ECMAScript6 JavaScript Method Prototype Reference String Unicode

String.prototype.quote()

The non-standard quote() method returns a copy of the string, replacing various special characters in the string with their escape sequences and wrapping the result in double-quotes (").
JavaScript Method Obsolete Prototype Reference String

String.prototype.repeat()

The repeat() method constructs and returns a new string which contains the specified number of copies of the string on which it was called, concatenated together.
ECMAScript6 JavaScript Method Prototype Reference String

String.prototype.replace()

The replace() method returns a new string with some or all matches of a pattern replaced by a replacement. The pattern can be a string or a RegExp, and the replacement can be a string or a function to be called for each match.
Expressions JavaScript Method Prototype Reference Regular String

String.prototype.search()

The search() method executes a search for a match between a regular expression and this String object.
JavaScript Method Prototype Reference Regular Expressions String

String.prototype.split()

The split() method splits a String object into an array of strings by separating the string into substrings.
JavaScript Method Prototype Reference Regular Expressions String

String.prototype.startsWith()

The startsWith() method determines whether a string begins with the characters of another string, returning true or false as appropriate.
ECMAScript6 JavaScript Method Prototype Reference String

String.prototype.toLocaleLowerCase()

The toLocaleLowerCase() method returns the calling string value converted to lower case, according to any locale-specific case mappings.
Internationalization JavaScript Method Prototype Reference String

String.prototype.toLocaleUpperCase()

The toLocaleUpperCase() method returns the calling string value converted to upper case, according to any locale-specific case mappings.
Internationalization JavaScript Method Prototype Reference String

String.prototype.toSource()

The toSource() method returns a string representing the source code of the object.
JavaScript Method Non-standard Prototype Reference String

String.prototype.trim()

The trim() method removes whitespace from both ends of a string. Whitespace in this context is all the whitespace characters (space, tab, no-break space, etc.) and all the line terminator characters (LF, CR, etc.).
ECMAScript5 JavaScript Method Prototype Reference String