title: Removing substring from a string?
body: <p>I have a C function, which takes a string called 'buffer', and parses it, it will match keywords and use that to assign values in a structure.</p>
  
  <p>However, some keywords I want to completely ignore. </p>
  
  <p>This program parses VCard files (.vcf, virtual business cards).</p>
  
  <p>Here is a sample line buffer might supply:</p>
  
  <pre><code>FN;CHARSET=UTF-8:David Celery
  </code></pre>
  
  <p>FN is a keyword im interested in, and David Celery is the value associated with FN.</p>
  
  <p>However, CHARSET=UTF-8 is something I dont care about at all.</p>
  
  <p>So my question is, is there a way for me to scan my buffer and simply replace 'CHARSET=UTF-8" with "", so that I don't have to worry about parsing it (and other similar keywords I just want to ignore).</p>
  
  <p>Thanks, </p>