So let's say I have a string entering into an Excel document set up like this
output.WriteLine(string.Format("{0},{1},{2},{3}",
var1,
var2,
var3,
var4
));
Now normally it would enter each var
into a separate cell.
However, I find that if one of my var
s has a comma in it, it will treat that as a cell ending, and go to the next one. How can I ignore commas in the var
s while maintaining the set up?