title: How to store \"> in a Swift string?
body: <p>I'm trying to store \"> in a string. Theoretically, "\\" should print \ and "\"" does print ". However, when I try to print \ in a string using \ the output is a double forward slash:</p>
  
  <pre><code>var str = "\"&gt;" 
  // "&gt;
  var str2 = "\\"
  // \\ 
  var str3 = "\\\"&gt;"
  // \\"&gt;
  var str4 = "\\"&gt;"
  // escapes after quotation mark (error)
  </code></pre>