indexof()

sam352120
Kilo Guru

What can be the exact use of   (indexof() == 1/-1 ).Can any one share your practical exposure on that.

 

Thanks on advance

1 REPLY 1

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi,



Please check the below link for more info


JavaScript String indexOf() Method