here's what I would do, create a small table for each one of the variables you want to 'translate' and what you want the 'final string to be, then build a query around linking the tables rather than trying to do this all with code, the processing time will be ridiculous in it's current format.