Say I have the following string:
|VI:Metal|CZ:Glass
I do a search using
SELECT * FROM Products WHERE SubCat Like "%VI%
How can I extract everything between each | and :, like get the VI out of |VI:, the CZ out of |CZ: ?
Then, I would need to translate those values into words, like VI=Victorian. If I have something that VI-Victorian, I need a to translate VI into the new value Victorian.
How would I do that?