Hi
I am trying to work out if there is an easy way to combine multiple comma separated strings to make one string. The only thing I can think of is to try and write some extremely long winded code that would split out to columns and then use if statements to put stuff back together as one.
As an example the original strings would look something like this.
1ABCD,,000001,,,Test,,Check,,,,,
1ABCD,,000001,Red,,,,,,,,,
1ABCD,,000001,,,Test,Test2,,,,,,
And the result would be.
1ABCD,,000001,Red,,Test,Test2,Check,,,,,
The number of commas could be different each time this is run but for the strings being compared the number of commas would always match. If anyone has any suggestions as to how this could be acheived that would be great.
Thanks in advance
Jim
Bookmarks