title: Got string Url but the url have "\/".How to get each correct value in string like array type swift3
body: <p>I got a string from server,but the url string looks strange, and it also like array type. I don't know how to get each value. Sorry I am beginner.Thanks.</p>
  
  <pre><code>let string:String = "[\"http:\/\/aaa.com\/user\/head\/111.jpg?1495612713419\",\"http:\/\/aaa.com\/user\/head\/222.jpg?1496215823622\",\"http:\/\/aaa.com\/user\/head\/333.jpg?1495251220764\",\"http:\/\/aaa.com\/user\/head\/444.jpg?1495773694237\",\"http:\/\/aaa.com\/user\/head\/555.jpg?1495597839001\"]"
  
  let tempArr = string.components(separatedBy: ",")
  var stringArr = Array&lt;String&gt;()
  
  for a in tempArr {
      var b = a.replacingOccurrences(of: "\"", with: "")
      b = b.replacingOccurrences(of: "[", with: "")
      b = b.replacingOccurrences(of: "]", with: "")
      stringArr.append(b)
  }
  print(stringArr)
  </code></pre>
  
  <p>print log<br></p>
  
  <pre><code>["http:\\/\\/aaa.com\\/user\\/head\\/111.jpg?1495612713419", "http:\\/\\/aaa.com\\/user\\/head\\/222.jpg?1496215823622", "http:\\/\\/aaa.com\\/user\\/head\\/333.jpg?1495251220764", "http:\\/\\/aaa.com\\/user\\/head\\/444.jpg?1495773694237", "http:\\/\\/aaa.com\\/user\\/head\\/555.jpg?1495597839001"]
  </code></pre>