title: Removing repeated duplicated characters
body: <p>I have a string in my stored proc like <code>',,,sam,,bob,'</code> or <code>',,,'</code>
  from the above string I have to delete multiple commas from it, it must look like 
  <code>'sam,bob,'</code> or only if  <code>',,,'</code>  then  <code>''</code> .
  I must use only Sql Server Functions.
  Im using Sql Server 2008 and .Net 3.5</p>
  
  <p>Thanks in advance.</p>