whatsthecodeforthat.com
What's the code for Index of Substring in javascript?
var idx = s.indexOf(substring);