How to find the index of a particular string?

Tiên Hương

New member
How to find the index of a particular string?
A. position()
B. index()
C. indexOf()
D. positionof()
 
Answer: c
Explanation: The indexOf() function can be used to find out the index of a particular character or a string. This method return an integer telling the address of the particular character.
 

Tìm kiếm

Back
Top