OK Rog, the snippet I supplied was to create the string in order to place it in the DB. I didn't intend it to be used for output. Glad to see it working - I've never tried this type of search before, so it's a learning curve for me too.

diafol
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.