title: How to exclude some characters from a string in java?
body: <p><strong>EDITED</strong></p>
  
  <p>I have a string like:</p>
  
  <p><strong><code>" abc@1asdf.net , efg@askdhfk.net , hig@qlewxcvxcvzxcvz.net , klm@qw.net , "</code></strong></p>
  
  <p>i want to exclude <strong>hig@qlewxcvxcvzxcvz.net</strong>. The resulting string should be :</p>
  
  <p><strong><code>" abc@1asdf.net , efg@askdhfk.net , klm@qw.net , "</code></strong></p>
  
  <p>Plz, can anyone guide me for solution. I have tried using <strong><code>substring</code></strong> but couldn't. </p>
  
  <p>I dnt know the length</p>
  
  <p>My Try : </p>
  
  <pre><code>mystr.substring(mystr.indexOf("hig"), mystr.indexOf(","));
  </code></pre>