def split_using(text, quote, sep='.', maxsplit=-1):
    """
	split the string on the seperator ignoring the separator in quoted areas.

	This is only useful for simple quoted strings. Dollar quotes, and backslash
	escapes are not supported.
	"""
    escape = quote * 2
    esclen = len(escape)
    offset = 0
    tl = len(text)
    end = tl
    if quote not in text:
        return text.split(sep, maxsplit)
    l = []
    while len(l) != maxsplit:
        nextsep = text.find(sep, offset)
        if nextsep == -1:
            break
        else:
            nextquote = text.find(quote, offset, nextsep)
            while nextquote != -1:
                nextquote = text.find(quote, nextquote + 1)
                while nextquote != -1:
                    if text.find(escape, nextquote, nextquote + esclen
                        ) != nextquote:
                        break
                    nextquote = text.find(quote, nextquote + 2)
                else:
                    nextsep = -1
                    break
                nextsep = text.find(sep, nextquote + 1)
                if nextsep == -1:
                    break
                nextquote = text.find(quote, nextquote + 1, nextsep)
            if nextsep == -1:
                break
            l.append(text[offset:nextsep])
            offset = nextsep + 1
    l.append(text[offset:])
    return l
