title: How can I find the index of an item in Swift?
body: <p>Is there a method called indexof or something similar?</p>
  
  <pre><code>var array = ["Jason", "Charles", "David"]
  
  indexOf(array, "Jason") // Should return 0
  </code></pre>