add simple version of strtok to process token, previous version assume that token is seperated by SPACE etc.