func parseSingle(s string, seps string) (value, rest string, err error) {
	if len(s) > 0 && s[0] == '"' {
		value, rest, err = parseQuotedString(s)
		if err != nil {
			return "", rest, errors.Trace(err)
		}
	} else {
		sepPos := strings.IndexAny(s, seps)
		value = s
		if sepPos >= 0 {
			value, rest = value[:sepPos], value[sepPos:]
		}
	}
	return value, rest, nil
}
// parseSingle parses a single (optionally quoted) value from s and returns
// the value and the remainder of the string.
parseSingle parses a single (optionally quoted) value from s and returns
the value and the remainder of the string.
// parseSingle parses a single ( optionally quoted ) value from s and returns // the value and the remainder of the string .
func parseSingle(s string, seps string) (value, rest string, err error) {
	if len(s) > 0 && s[0] == '"' {
		value, rest, err = parseQuotedString(s)
		if err != nil {
			return "", rest, errors.Trace(err)
		}
	} else {
		sepPos := strings.IndexAny(s, seps)
		value = s
		if sepPos >= 0 {
			value, rest = value[:sepPos], value[sepPos:]
		}
	}
	return value, rest, nil
}
func parseSingle ( s string , seps string ) ( value , rest string , err error ) { if len ( s ) > 0 && s [ 0 ] == '"' { value , rest , err = parseQuotedString ( s ) if err != nil { return " " , rest , errors . Trace ( err ) } } else { sepPos := strings . IndexAny ( s , seps ) value = s if sepPos >= 0 { value , rest = value [ : sepPos ] , value [ sepPos : ] } } return value , rest , nil }
parseSingle parses a single (optionally quoted) value from s and returns
the value and the remainder of the string.
parseSingle parses a single ( optionally quoted ) value from s and returns the value and the remainder of the string .