 <p>You could do a very nasty <code>for</code> loop where you search for the <code>,</code> values and then compare from the start of 1 <code>,</code> to the next. You could use <code>SubString()</code> and <code>IndexOf()</code> to achieve this, but this isn't very performant nor elegant.</p>