Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. How to find the index of a particular string?

  2. A.

     position()

    B.

     index()

    C.

     indexOf()

    D.

     none of the mentioned

    View Answer

    Workspace

    Answer : Option C

    Explanation :

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


Be The First To Comment