How to remove \ character from a string in swift 3
<p>My string is contained in a variable named str. This code isnt working :</p>

<pre><code>  str = str.replacingOccurrences(of: "\\", with: "")
</code></pre>