Ignoring commas in a string parsed by commas
<p>So let's say I have a string entering into an Excel document set up like this</p>

<pre><code>output.WriteLine(string.Format("{0},{1},{2},{3}",
                                                   var1,
                                                   var2,
                                                   var3,
                                                   var4
                                                   ));
</code></pre>

<p>Now normally it would enter each <code>var</code> into a separate cell.
However, I find that if one of my <code>var</code>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 <code>var</code>s while maintaining the set up?</p>
