Hi,
I trying to find a simple way to re-structure data and then create a new flat file.
You will see the logic with the data below.
From this format:
To this format:
Let me know if it's not clear enough.
Thank you in advance.
I trying to find a simple way to re-structure data and then create a new flat file.
You will see the logic with the data below.
From this format:
Code:
#A59993
TRR[1T1-1T3,1Y7,1W9,2R1-2R3]
#A53700
TQQ[1A6,1C0-1C4,1P0]
To this format:
Code:
A59993|TRR1T1,TRR1T2,TRR1T3,TRR1Y7,TRR1W9,TRR1R1,TRR2R1,TRR2R2,TRR2R3
A53700|TQQ1A6,TQQ1C0,TQQ1C1,TQQ1C2,TQQ1C3,TQQ1C4,TQQ1P0
Let me know if it's not clear enough.
Thank you in advance.