Javascript InStr function November 15, 2005 by Tom Is there a function in Javascript that is the same as VBScript’s instr? Yes! It’s string.indexOf For info on how to use it, check out DevGuru’s page on IndexOf