Is it possible to use strtok() to separate data, eliminating all whitespace? I have data that is separated by spaces, tabs, and occasionaly new lines. Is it possible to use strtok to take care of this? I've tried using strpbrk() but I don't think it works the same way as strtok, by being able to use NULL as the first parameter to continue on from where you left off.