Returns the index within the calling String object of the first occurrence of the specified value, starting the search at fromIndex,
Returns the index within the calling String object of the last occurrence of the specified value, or -1 if not found.
Returns a new string with some or all matches of a pattern replaced by a replacement.
slice extracts the text from one string and returns a new string.
Splits a String object into an array of strings by separating the string into substrings.
Returns a subset of a string between one index and another, or through the end of the string.
Returns a number indicating whether a reference string comes before or after or is the same as the given string in sort order.
Used to retrieve the matches when matching a string against a regular expression.
If successful, search returns the index of the regular expression inside the string.
The toLocaleLowerCase method returns the value of the string converted to lower case according to any locale-specific case mappings.
The toLocaleUpperCase method returns the value of the string converted to upper case according to any locale-specific case mappings.