since it is really a string of values like xx99\nxx98\n, I would try looping through the data parsing on the chrw(13) + chrw(10) characters...
probably even easier would be to SPLIT the field into an array based on those characters, modify each array element then JOIN them back into a string.
Hope this points in a direction that works for you.