Originally Posted by
tabstop
You can use , as your delimiter and then reassemble the names (you'll have to call strtok twice to get each author). But strtok skips starting tokens, so when you've gotten to
Code:
,,,"Algorithmic Randomness and Complexity",2009,"978-0387955674"
strtok will return to you
Code:
"Algorithmic Randomness and Complexity"
the next time through.
The problem is that I don't know how many authors do I have,It can vary from 1-5. So I don't know how many times I have to use strok before entering the next area of fileds.
eg.:
Code:
"Knuth, Donald E.",,,,,"The Art of Computer Programming, Volume 4, Fascicle 1: Bitwise Tricks & Techniques; Binary Decision Diagrams",2009,"978-0321580508"
"Glass, Graham","Ables, King",,,,"UNIX for Programmers and Users (3rd Edition)",2003,"978-0130465535"
"McAllister, William","Smith, John","Calgary,Owen",,,,,"Data Structures and Algorithms Using Java",2008,"978-0763757564"