PHP STRCHR JavaScript equivalence

Is there a function in javascript equivalent to php strchr? Please help me. thank.

+3


source to share


1 answer


You should try indexOf .



+1


source







All Articles