Q85
How to find the index of a particular string?
A.
position()
B.
index()
C.
indexOf()
AnswerD.
none of the mentioned
Answer: Option C
Solution
Answer: Option C
Solution:
The indexOf() function can be used to find out the index of a particular character or a string.