another iteration of strtok_r

apparently it modifies all the strings its passed pointers to... that's not super cool ... :/