title: *Very specific issue* of removing white spaces from multiple lines of a single string in C#. Trim() not working
body: <p>I am working with C#. I had a string which was in the format:</p>
  
  <pre><code>myString = ""Person:Name","Address:City","University:District""
  </code></pre>
  
  <p>I know having quotes within a main string quote is not right in C# and that you have to escape quotes. But this string that I have here is the result of concatenation of several strings to make it look like that for some back-end processing.It was a string list of the format [A:B, C:D, E:F] which was converted into JSON format and then back to string again. I stripped off the external brackets already in case you're wondering. So before moving further, I'd like to clarify that this is a legal string and the quotes within the string are not a problem in this particular scenario. </p>
  
  <p>I want my final output to display in multiple lines like the following:</p>
  
  <pre><code>Person:Name
  Address:City
  University:District
  </code></pre>
  
  <p>I tried to achieve it by doing the following:</p>
  
  <pre><code> myString = myString.Replace(',', '\n');  //replaced comma with newline
   myString = myString.Replace('"', ' ');   //replaced double quote with a space
  </code></pre>
  
  <p>I have them in separate lines now, however my problem now is I can't seem to get rid of the space. I want all of the spaces removed. i.e 6 total below. Turns out Trim() does not help me. Is there a way to solve this? This is where I am at right now. I'm open to trying any new idea if my way is not correct. If you're confused with the way the string is, you can ask me.</p>
  
  <pre><code>(space)Person:Name(space)
  (space)Address:City(space)
  (space)University:District(space)
  </code></pre>