src/main/java/org/dmfs/iterators/CsvIterator.java
private void findNextSeparator()
    {
        boolean isQuoted = false;
        mLastSeparatorPos = mNextSeparatorPos;
        while (++mNextSeparatorPos < mValue.length())
        {
            char c = mValue.charAt(mNextSeparatorPos);
            if (c == mSeparator)
            {
                if (!isQuoted)
                {
                    return;
                }
                // else: ignore quoted speparator
            }
            else if (c == '"')
            {
                isQuoted = !isQuoted;
            }
        }
    }
private void findNextSeparator()
    {
        boolean isQuoted = false;
        mLastSeparatorPos = mNextSeparatorPos;
        while (++mNextSeparatorPos < mValue.length())
        {
            char c = mValue.charAt(mNextSeparatorPos);
            if (c == mSeparator)
            {
                if (!isQuoted)
                {
                    return;
                }
                // else: ignore quoted speparator
            }
            else if (c == '"')
            {
                isQuoted = !isQuoted;
            }
        }
    }
private void findNextSeparator ( ) { boolean isQuoted = false ; mLastSeparatorPos = mNextSeparatorPos ; while ( ++ mNextSeparatorPos < mValue . length ( ) ) { char c = mValue . charAt ( mNextSeparatorPos ) ; if ( c == mSeparator ) { if ( ! isQuoted ) { return ; } // else: ignore quoted speparator } else if ( c == ' ' ) { isQuoted = ! isQuoted ; } } }
Move {@link #mNextSeparatorPos} to the next (unquoted) separator (or the end of the {@link String} if no other
separator exists in {@link #mValue}).
Move {