Hi
I would like to add new lines with the strings after the comma.
The lines in the inFile have 2 fields separated by a tab.
I would like to remove the comma from the 2d fileld and add a new line where the 1st filed is empty and the 2d field is made of the string that followed the comma.
inFile
A[tab]m,n
B[tab]x,y,z
C[tab]t,r
outFile
A[tab]m
[tab]n
B[tab]x
[tab]y
[tab]z
C[tab]t
[tab]r
Thank you for helping
Joseph
I would like to add new lines with the strings after the comma.
The lines in the inFile have 2 fields separated by a tab.
I would like to remove the comma from the 2d fileld and add a new line where the 1st filed is empty and the 2d field is made of the string that followed the comma.
inFile
A[tab]m,n
B[tab]x,y,z
C[tab]t,r
outFile
A[tab]m
[tab]n
B[tab]x
[tab]y
[tab]z
C[tab]t
[tab]r
Thank you for helping
Joseph