if (remaining[end] == stringTerminator)
{
inString = false;
- end ++;
+ end++;
break;
}
}
{
inString = true;
stringTerminator = remaining[end];
- end ++;
+ end++;
continue;
}
}
// If this is an escape char, consume it and append the next char to our piece.
if (remaining[end] == '\\')
{
- end ++;
+ end++;
if (end == remaining.Length)
break;
}
// Whitespace is trimmed from the end of the piece before stripping
// quote chars from the start/end of the string.
while (piece.Length > 0 && char.IsWhiteSpace(piece[piece.Length - 1]))
- piece.Length --;
+ piece.Length--;
if (piece.Length >= 2)
{