title: How to remove the exact occurence of characters from a string?
body: <p>For Example, I have a string like :</p>
  
  <pre><code>string str = "santhosh,phani,ravi,phani123,praveen,sathish,prakash";
  </code></pre>
  
  <p>I want to delete the charaters <code>,phani</code> from <code>str</code>.</p>
  
  <p>Now, I am using <code>str = str.Replace(",phani", string.Empty);</code></p>
  
  <p>then my output is : <code>str="santhosh,ravi123,praveen,sathish,prakash";</code></p>
  
  <p>But I want a output like : <code>str="santhosh,ravi,phani123,praveen,sathish,prakash";</code></p>