The toUpperCase() method returns the calling string value converted to upper case.
The trimLeft() method removes whitespace from the left end of a string.
The trimRight() method removes whitespace from the right end of a string.
The valueOf() method returns the primitive value of a String object.
DOMString is a UTF-16 String. As JavaScript already uses such strings, DOMString is mapped directly to a String.
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.
The codePointAt() method returns a non-negative integer that is the Unicode code point value.
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.
The match() method retrieves the matches when matching a string against a regular expression.
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).
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 (").
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.
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.
The search() method executes a search for a match between a regular expression and this String object.
The split() method splits a String object into an array of strings by separating the string into substrings.
The startsWith() method determines whether a string begins with the characters of another string, returning true or false as appropriate.
The toLocaleLowerCase() method returns the calling string value converted to lower case, according to any locale-specific case mappings.
The toLocaleUpperCase() method returns the calling string value converted to upper case, according to any locale-specific case mappings.
The toSource() method returns a string representing the source code of the object.
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.).