title: Array cleaning in Swift
body: <p>I have an array in Swift:</p>
  
  <pre><code>["\"100003866283798-2\"", "\"100001986741004-2\"",     
  "\"100003455181526-2\"", "\"100002261472542-2\"", 
  "\"100003866283798-3\"", "\"100003866283798-0\"",
  "\"100001986741004-3\"", "\"100001986741004-0\"", 
  "\"100003455181526-3\"", "\"100003455181526-0\"", 
  "\"100002261472542-3\"", "\"100002261472542-0\""]
  </code></pre>
  
  <p>and I only want the numbers, not the quotes and the <code>-2</code>.</p>
  
  <p>I can't figure out to do this, because when I type </p>
  
  <pre><code>let cleanStr = numberArray.stringByReplacingOccurrencesOfString("\"", withString: "", options: nil, range: nil)
  </code></pre>
  
  <p>it gives the error: </p>
  
  <blockquote>
    <p>Value of type '[String]' has no member
    'stringByReplacingOccurrencesOfString'</p>
  </blockquote>
  
  <p>I know it's very confusing with all the quotes etc but I want these numbers without their quotes etc, anyone a solution?</p>