title: How to check arraylist contains this particular word in android?
body: <p>I have <code>ArrayList&lt;String&gt;</code> in that I added 3-4 website names. Like, <a href="http://www.google.com" rel="nofollow">http://www.google.com</a>, <a href="https://www.stackoverflow.com">https://www.stackoverflow.com</a>, etc. Now in my application if I type simply "google" then I want to compare that "google" word with the <code>ArrayList&lt;String&gt;</code>.</p>
  
  <p>I am stuck here. Can anyone tell me how can I compare the string with the array object?</p>
  
  <p>Thanks in advance.</p>