static void EmbeddedCommas()
{
string input =@"1997,Ford,E350,""Super, luxurious truck""";
string[] inputArray;
inputArray = input.Split(',');
int count = 0;
int maxCount = 4;
string[] outputArray = new string[maxCount];
foreach (var item in inputArray)
{
if (count < maxCount - 1)
{
outputArray[count] = item;
input = input.Remove(0, outputArray[count].Length + 1);
count++;
}
else
{
outputArray[count] = input.Replace('"',' ');
}
}
foreach (var item in outputArray)
{
Console.WriteLine(item);
}
Console.ReadLine();
}