I\'ve posted this question on the new dba.stackexchange.com (please, let me know if I have to delete one).
I\'m working on a DB2 database, and as far as I can see re
You could accomplish this using SUBSTR, but I would recommend writing a Java stored procedure for this. It's fairly simple to put one together using the free IBM Data Studio tool.