Trying to Work an Easy way to solve this problem.



Dear All,

I've sat down with a piece of paper to work this little problem, and for the
life of me I can't get my head around it with out writing a shed load of for
next loops, etc

I've started with data, that is multiples of 16 bytes, the data when used
ends up as

0123
4567
89AB
CDEF

Now I'm needing to remove 3,7,B and CDEF, so I'm left with

012
456
89A

but the output will have gone from

0123456789ABCDEF
01245689A

right the way through all the data until I reach the end?

Anybody know of an nice easy way of dealing with this?

I've already loaded the full file into an array data() {thanks to a previous
topic/poster for that} but before I tackle it with a shed loads of for next
loops, I was kinda someone might know of an easier way to attempting this...

Regards
Paul.


.



Relevant Pages


Loading