public function remove($value)
    {
        if (!is_string($value)) {
            throw new UnexpectedTypeException($value, 'string', 'value');
        }
        if (empty($value)) {
            return;
        }

        if ($this->allowTokenize) {
            $this->values = array_diff($this->values, explode($this->delimiter, $value));
        } else {
            $this->values = array_diff($this->values, [$value]);
        }
    }