title: How to take out parts of a string in swift
body: <p>I want to take out a part of my String and afterwords I want to save it in a new String.</p>
  
  <pre><code>var key = "Optional("rFchd9DqwE")"
  </code></pre>
  
  <p>So my String equals now to Optional("rFchd9DqwE"). Now I want to take out the part rFchd9DqwE from this String and save it back in the variable "key". Is there a simple way to do this?</p>