title: Cannot convert value of type 'subSequence' (aka 'String.CharacterView') to type 'String' in collection
body: <p>I build a webservis that requesting image url from the database. And I want to show it on the swift. But I'm gettig this error on the var photo line: </p>
  
  <blockquote>
    <p>Cannot convert value of type 'subSequence' (aka 'String.CharacterView') to type 'String' in collection</p>
  </blockquote>
  
  <pre><code>let requestResponse = self.sendToServer(postUrl: "localhost",data:"abc")
  
  let Seperated = requestResponse.characters.split(separator: " ")
  
  var photo = Seperated[0] as String
  
  let imageURL = URL(string: photo)
  if let imageData = try? Data(contentsOf: imageURL!) {
      ...
  }
  </code></pre>