open_in_new
content_copy
var txt = "Hello how are you, Hello again"; var len = txt.indexOf("Hello",10);