JavaScript String Methods

Quiz
•
Computers
•
12th Grade - Professional Development
•
Hard
Leonardo Ghiggino
Used 54+ times
FREE Resource
15 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
let string = "foo"
How to determine the length of the string?
2.
FILL IN THE BLANK QUESTION
45 sec • 1 pt
let string = "The cat is black"
How to find the index/position of "cat" in the string
3.
FILL IN THE BLANK QUESTION
45 sec • 1 pt
let string = "The black cat is black"
How to find the LAST index/position of "black" in the string
4.
FILL IN THE BLANK QUESTION
45 sec • 1 pt
let string = "Milk, chocolate, cookies"
How to extract a new string "chocolate, cookies" from the first string
5.
FILL IN THE BLANK QUESTION
45 sec • 1 pt
let string = "Milk, chocolate, cookies"
How to replace "chocolate" with "banana"?
6.
FILL IN THE BLANK QUESTION
45 sec • 1 pt
let string = "Milk, chocolate, cookies"
How to figure out what character is on the 3rd position of the string?
7.
FILL IN THE BLANK QUESTION
45 sec • 1 pt
let string = "Milk, chocolate, cookies"
How to convert the string to upper case?
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
ITIPT01 Quiz No 1

Quiz
•
University
15 questions
Python End of Topic Quiz

Quiz
•
8th Grade - University
12 questions
JavaScript Quiz Day-1

Quiz
•
Professional Development
20 questions
Exam on Lists - Python

Quiz
•
9th - 12th Grade
10 questions
Lists review (Python)

Quiz
•
University
10 questions
FE Batch 20 (Javascript Fundamental)

Quiz
•
Professional Development
15 questions
Introduction to TypeScript

Quiz
•
12th Grade
15 questions
Python Programming Intermediate-1

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade