• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/31

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

31 Cards in this Set

  • Front
  • Back

string.length

This property returns the number of code units in the string.





String.fromCharCode()

The static String.fromCharCode() method returns a string created by using the specified sequence of Unicode values.

String.fromCodePoint()

The static String.fromCodePoint() method returns a string created by using the specified sequence of code points.

String.prototype.anchor()

The anchor() method creates an HTML anchor element that is used as a hypertext target.

String.prototype.charAt()

The charAt() method returns the specified character from a string.

String.prototype.charCodeAt()

The charCodeAt() method returns an integer between 0 and 65535 representing the UTF-16 code unit at the given index

String.prototype.codePointAt()

The codePointAt() method returns a non-negative integer that is the Unicode code point value.

String.prototype.concat()

The concat() method combines the text of one or more strings and returns a new string.


For better performance use +.

String.prototype.endsWith()

The endsWith() method determines whether a string ends with the characters of a specified string, returning true or false as appropriate.

String.prototype.includes()

The includes() method determines whether one string may be found within another string, returning true or false as appropriate.

String.prototype.indexOf()

The indexOf() method returns the index within the calling String object of the first occurrence of the specified value, starting the search at fromIndex. Returns -1 if the value is not found.

String.prototype.lastIndexOf()

The lastIndexOf() method returns the index within the calling String object of the last occurrence of the specified value, searching backwards from fromIndex. Returns -1 if the value is not found.

String.prototype.link()

The link() method creates a string representing the code for an HTML element to be used as a hypertext link to another URL.

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.

String.prototype.match()

The match() method retrieves the matches when matching a string against a regular expression.

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).

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.

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.

String.prototype.search()

The search() method executes a search for a match between a regular expression and this Stringobject.

String.prototype.slice()

The slice() method extracts a section of a string and returns a new string.

String.prototype.split()

The split() method splits a String object into an array of strings by separating the string into substrings.

String.prototype.startsWith()

The startsWith() method determines whether a string begins with the characters of a specified string, returning true or false as appropriate.

String.prototype.substr()

The substr() method returns the characters in a string beginning at the specified location through the specified number of characters.

String.prototype.substring()

The substring() method returns a subset of a string between one index and another, or through the end of the string.

String.prototype.toLocaleLowerCase()

The toLocaleLowerCase() method returns the calling string value converted to lower case, according to any locale-specific case mappings.

String.prototype.toLocaleUpperCase()

The toLocaleUpperCase() method returns the calling string value converted to upper case, according to any locale-specific case mappings.

String.prototype.toLowerCase()

The toLowerCase() method returns the calling string value converted to lower case.

String.prototype.toString()

The toString() method returns a string representing the specified object.

String.prototype.toUpperCase()

The toUpperCase() method returns the calling string value converted to upper case.

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.).

String.prototype.valueOf()

The valueOf() method returns the primitive value of a String object.