title: Check if array contains a string in iOS
body: <p>My array is having the data below. I want to search whether email id and password text fields are matched with the array values or not. If they are matched, then user can login else invalid credentials message is alerted. Please help me.</p>
  
  <pre><code>    2014-01-03 12:08:20.909 Appify[542:11303] (
      {
          EmailId="sarika@gmail.com";password=sarika;
      },
      {
          EmailId="kalyan@gmail.com";password=kalyan;
      },
      {
          EmailId="kalyan@gmail.com";password=kalyan;
      }
      )
  </code></pre>