in reply to string value assignment

How about you show us what you have tried? This has a rather homework look about it and despite that has lost a lot in translation. Without seeing the code you have tried already it's not at all clear where you are having trouble nor even what you are wanting to achieve.

You'll find it helps to get help here if you provide a little sample data, the code you have written in an attempt to process the data and both the output you get and the output you expect.

True laziness is hard work

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.