title: Trim or remove characters of type (0x0000)
body: <p>I have written a C# application that is extracting all of the text that is contained in the pdf and store it in a database.</p>
  
  <p>The problem I have is when reusing the stored information and displaying it on my website with XML. I get an error that states something like invalid character 0x0000, and from what I have read, the 0x0000 character isn't allowed in XML.</p>
  
  <p>So, my question is; Does anyone know how I can remove all characters of type 0x0000 with C# before I store it in my database?</p>