title: Swift 2 - String to Array [String]
body: <p>From a php i am requesting a responce. The response should be an array <code>[String]</code> however, swift is seeing this response as a <code>String</code>.</p>
  
  <p>How can I convert a <code>String</code> to <code>[String]</code> ? </p>
  
  <p>PHP:</p>
  
  <pre><code>print_r(json_encode($arrayUser));
  // Print Out ["aaa","bbb","ccc","ddd"]
  </code></pre>
  
  <p>SWIFT 2.0:</p>
  
  <pre><code>    let infoArray = responseValue
          // Reads ["aaa","bbb","ccc","ddd"]
  
       print(infoArray[1])
       // error: Ambiguous use of 'subscript'
  </code></pre>
  
  <p>Why is Swift seeing the array as a string? And how can I convert it to an array <code>[String]</code>?</p>
  
  <p>I have also tried:</p>
  
  <pre><code>let infoArray = responseValue as! [String]
  //warning: Cast from 'String' to unrelated type '[String]' always fails
  </code></pre>