use strtok to complete tokenization.