A = 1
A = 2
A = 3
B = 5
B = 1
B = 7
e.t.c
C = .....
Is there a way to convert this format to:
A = 1,2,3
B = 5,1,7
C = ...
.
.
.
Z = ...
I am thinking
while in data file
split each line to letters and numbers.
if next letter matches previous letter push into an array
otherwise create a new array called B?
A = 2
A = 3
B = 5
B = 1
B = 7
e.t.c
C = .....
Is there a way to convert this format to:
A = 1,2,3
B = 5,1,7
C = ...
.
.
.
Z = ...
I am thinking
while in data file
split each line to letters and numbers.
if next letter matches previous letter push into an array
otherwise create a new array called B?