mcpeekj
Vendor
- Sep 21, 2001
- 105
I have a little loop that will search for a string inside of array elements. It works fine when I search for a string that is the entire element. But I need to search for a string inside of the element. How can I do a wildcard search? I've tried using %, * and ?, all to no avail. Doesn't appear I can use like and not like either.
Thoughts?
Thoughts?
Code:
for j = 0 to alldatarows
if (alldata(2,j)) = "?string i want?" then
response.write "mystuff"
exit for
end if
next