title: How can I get the length of a String in Swift 2.0?
body: <p>So far it was:</p>
  
  <pre><code>let string = "my example string"
  if count(string) &gt;= 3 { ... }
  </code></pre>
  
  <p>But now I get an error:</p>
  
  <blockquote>
    <p><code>count</code> is unavailable: access the <code>count</code> property on the collection. Type <code>String</code> doesn't conform to protocol <code>CollectionType</code></p>
  </blockquote>