Joined: 23 Nov 2006 Posts: 19270 Location: Inside the Matrix
One oversimplified way (via pseudo code):
point to the first byte - load the address into a register
is the current byte a comma?
yes - do whatever you want when you find a comma
no - increment the value in the register and check for end