indexOf() is what you want
eg:
http://www.irt.org is an excelent resource and should answer 96.7% of your javascript problemsCode:var strTemp = "Mark Sreeves"; document.write(strTemp.indexOf("r"));
(you can even download the whole site to your hard drive for browsing of line)




Reply With Quote