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