title: Convert Raw Data "AnyObject?" to NSData or String
body: <p>I have been stuck for the last few days on this and have read countless posts here on Stackoverflow and across the web, but am still a little lost. (by the way I am a bit of a newbie in Swift).</p>
  
  <p>i have the following code</p>
  
  <p><code>Alamofire.request(.GET, "url")
              .response { (request, response, data, error) in 
               printIn(data)}</code></p>
  
  <p>This prints out a long string of numbers in the Console, which is perfect, exactly what I need.</p>
  
  <p>However I now would like to iterate through these and get the number at certain index's, so would like to convert this into a string or NSData.</p>
  
  <p>I have tried many different ways but have not yet found how to do this, if somebody could please help me I would be very grateful.</p>
  
  <p>I have tried using</p>
  
  <pre><code>Alamofire.request(.GET, "url")
      .responseString(encoding: NSASCIIStringEncoding) { (request, response, data, error) -&gt; Void in
          println(data)
      }
  </code></pre>
  
  <p>but this only prints out a jumbled up mess.</p>
  
  <p>many thanks</p>
  
  <p>Chris</p>