Examveda
Examveda

How to find the index of a particular string?

A. position()

B. index()

C. indexOf()

D. none of the mentioned

Answer: Option C

Solution(By Examveda Team)

The indexOf() function can be used to find out the index of a particular character or a string.

This Question Belongs to Javascript >> Caching And Debugging

Join The Discussion

Related Questions on Caching and Debugging