Use strsep instead of strtok