Well, instr worked for me. Remember, instr just returns you the starting posistion of the given string.If you paste this into a .asp page, you should see how it all works.<%Dim sCSVsCSV = "hi,who,where,how,hello,greetings,xmas,etc"response.write "The location is:" & instr(sCSV, "hello") & "<BR>"Dim iDim aryCSV aryCSV = split(sCSV, ",")for i = 0 to ubound(aryCSV) -1 response.write "I:" & I & " Value:" & aryCSV(i) & "<BR>"next%>
Michael<Yoda>Use the Search page you must. Find the answer you will. Cursors, path to the Dark Side they are. Avoid them, you must. Use Order By NewID() to get a random record you will.</Yoda>