title: How to find index of list item in Swift?
body: <p>I am trying to find an <code>item index</code> by searching a <code>list</code>. Does anybody know how to do that? </p>
  
  <p>I see there is <code>list.StartIndex</code> and <code>list.EndIndex</code> but I want something like python's <code>list.index("text")</code>.</p>