Hi,

I am new to Bytes and this is my first thread.

I know SQL Server but new to DB2. In my office we use IBM iSeries for Windows DB2 v5r4. I have written a function to split the string and return them as a table.

To be more clear in my requirement I will be parsing a string like
'ICECREAM (6) ~ CHOCOLATE (5) ~ PASTRY (2) ~' and I should get the particular value using the delimiter and the priority...