title: Remove <?xml version="1.0" encoding="UTF-8"?> from string c#
body: <p>i want to know how to remove : </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  </code></pre>
  
  <p>from a <code>string</code> data.
  I have tried this but it doesn't work </p>
  
  <pre><code>string result = data.Replace("&lt;?xml version=\"1.0\" encoding=\"UTF-8\" ?&gt;", "");
  </code></pre>
  
  <p>(I am not working with xml , it's just a response to manipulate it without header )</p>