Efficient method to split comma-separated values?

You could re-implement strtok(). But, why?

Because I more or less guessed to do it that way and would like to improve if I can! in what sort of way would you have done it?