Replace strtok by strsep