Q. How to find the index of a particular string?
β
Correct Answer: (C)
indexOf()
Explanation: The indexOf() function can be used to find out the index of a particular character or a string.