Section 1

Preview this deck

localeCompare()

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (19)

Section 1

(19 cards)

localeCompare()

Front

Returns a number indicating whether a reference string comes before or after or is the same as the given string in sort order.

Back

match()

Front

Used to match a regular expression against a string.

Back

valueOf()

Front

Returns the primitive value of the specified object.

Back

replace()

Front

Used to find a match between a regular expression and a string, and to replace the matched substring with a new substring.

Back

slice()

Front

Extracts a section of a string and returns a new string.

Back

toLocaleUpperCase()

Front

The characters within a string are converted to upper case while respecting the current locale.

Back

search()

Front

Executes the search for a match between a regular expression and a specified string.

Back

substr()

Front

Returns the characters in a string beginning at the specified location through the specified number of characters.

Back

toLowerCase()

Front

Returns the calling string value converted to lower case.

Back

toUpperCase()

Front

Returns the calling string value converted to uppercase.

Back

substring()

Front

Returns the characters in a string between two indexes into the string.

Back

indexOf()

Front

Returns the index within the calling String object of the first occurrence of the specified value, or -1 if not found.

Back

charAt()

Front

Returns the character at the specified index.

Back

charCodeAt()

Front

Returns a number indicating the Unicode value of the character at the given index.

Back

lastIndexOf()

Front

Returns the index within the calling String object of the last occurrence of the specified value, or -1 if not found.

Back

concat()

Front

Combines the text of two strings and returns a new string.

Back

toLocaleLowerCase()

Front

The characters within a string are converted to lower case while respecting the current locale.

Back

split()

Front

Splits a String object into an array of strings by separating the string into substrings.

Back

toString()

Front

Returns a string representing the specified object.

Back