Answers for "search inside a string javascript"

2

search inside a string javascript

var string = "Hello world!";
var n = string.search("w"); //now n equals 6
Posted by: Guest on January-29-2021

Code answers related to "search inside a string javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language