joepeacock
Programmer
I have a client with a searchable database of products. There are a little over a million products in the database, and the search is by part number only. Here is the problem. The client wants to be able to have zero and "o" interchangeable in the search. So, if a customer searches for "A031o", it will find all parts that match "Ao31o" "A031o" "A0310" or "Ao310". Of course, they don't want to send their product lists with all "o"s replaced with zeros or anything convenient like that, so I need a function that will generate all versions of what the customer entered with zero or "o" in each position. Keep in mind they may enter a search parameter with no zeros or "o"s or with twenty. Any ideas?