Moja lekcja

 0    22 flashcards    ksapieszczak
download mp3 print play test yourself
 
Question Answer
charAt()
start learning
Returns the character at a specified index (position)
charCodeAt()
start learning
Returns the Unicode of the character at a specified index
fromCharCode()
start learning
Returns Unicode values as characters
startsWith()
start learning
Checks whether a string begins with specified characters
endsWith()
start learning
Returns true if a string ends with a specified value
includes()
start learning
Returns true if a string contains a specified value
indexOf()
start learning
Returns the index (position) of the first occurrence of a value in a string
lastIndexOf()
start learning
Returns the index (position) of the last occurrence of a value in a string
search()
start learning
Searches a string for a value, or regular expression, and returns the index (position) of the match
match()
start learning
Searches a string for a value, or a regular expression, and returns the matches
concat()
start learning
Returns two or more joined strings
replace()
start learning
Searches a string for a value, or a regular expression, and returns a string where the values are replaced
slice()
start learning
Extracts a part of a string and returns a new string
substr()
start learning
Extracts a number of characters from a string, from a start index (position)
repeat()
start learning
Returns a new string with a number of copies of a string
substring()
start learning
Extracts characters from a string, between two specified indices (positions)
split()
start learning
Splits a string into an array of substrings
toString()
start learning
Returns a string or a string object as a string
toLowerCase()
start learning
Returns a string converted to lowercase letters
toUpperCase()
start learning
Returns a string converted to uppercase letters
trim()
start learning
Returns a string with removed whitespaces
valueOf()
start learning
Returns the primitive value of a string or a string object

You must sign in to write a comment