Put the values in a table ... run a cursor using the above
substring command with inst ...

Gregg