dougerstew
Programmer
Hi,
I have a text file with multiple one or two digit numbers separated by commas.
It could be that there are only 2 numbers to separate (easy), but could also be up to 12 numbers.
so the string might be
2,1 or
2,1,3,1 or
3,2,5,1,7,12 or
3,2,5,2,8,2,4,2,7,3,9,3
each of the numbers between commas can be one or two digits. I want to add the 1st, 3rd, 5th, etc numbers in the string.
Can someone help me automate this process?
Thanks,
Doug
I have a text file with multiple one or two digit numbers separated by commas.
It could be that there are only 2 numbers to separate (easy), but could also be up to 12 numbers.
so the string might be
2,1 or
2,1,3,1 or
3,2,5,1,7,12 or
3,2,5,2,8,2,4,2,7,3,9,3
each of the numbers between commas can be one or two digits. I want to add the 1st, 3rd, 5th, etc numbers in the string.
Can someone help me automate this process?
Thanks,
Doug