Hi, I have a search function on my site that uses a string delimited by commas to return search results. The search function however only works for individual strings that are not separated by spaces. As an example, the search criteria for one product is 'karate
kid cobra kai t-shirt', it only returns results if the search criteria is one word only, i.e. - cobra or kai. is there a way i can force the input of the search string to be treated as one string i.e. 'cobra kai' all one string?? I am using standard string
search methods to look for any match in the string. Here's a sample of the search criteria from the text document the search function searches: - £18.00, Unisex Karate Kid Cobra Kai T-shirt £18.00, Unisex Karate Kid t-shirt (cream) £18.00, Unisex Ghostbusters
ringer T-shirt £18.00, Unisex Back to the Future T-shirt (blue) It can be seen working here (http://www.retroclobber.com/retro_clobber_search.aspx) I can post samples of my search function class if that will help. Any help would be greatly appreciated. Cheers.
Mojo
mojo_uk
Member
395 Points
79 Posts
String Search
May 22, 2004 10:32 PM|LINK