That would work if I want to replace a2 with a1. The issue I have is there is between 2 and 10 zeros and i want it to replace with the last non zero value.
I hope this explaination is a little better.
e.g.
2 0 0 6 0 0 0 0 7 0 0
becomes
2 2 2 6 6 6 6 6 7 7 7
Cheers
That would work if I want to replace a2 with a1. The issue I have is there is between 2 and 10 zeros and i want it to replace with the last non zero value.I hope this explaination is a little better.e.g.2 0060000700becomes22266666777Cheers