title: Error: value of type 'String' has no member 'Generator' in Swift
body: <p>I have this piece of code in Swift:</p>
  
  <pre><code>var password = "Meet me in St. Louis"
  for character in password {
      if character == "e" {
          print("found an e!")
      } else {
      }
  }
  </code></pre>
  
  <p>which throws the following error: <code>value of type 'String' has no member 'Generator' in Swift</code> in line: <code>for character in password</code></p>
  
  <p>I have tried to find online the possible error, but I can't (plus I am new to Swift and trying to navigate myself through the idiosyncrasies of the language).</p>
  
  <p>Any help would be much appreciated (plus a brief explanation of what I am missing if possible)</p>