title: How to remove unwanted commas from a string?
body: <p>How can i remove duplicate commas used in string.</p>
  
  <p>String = ",a,b,c,,,d,,"</p>
  
  <p>I tried rtrim and itrim functions and removed the unwanted commas from beginning and ending .How can i remove duplicate commas ?</p>