title: how to know if a string is inside an array on Android?
body: <p>Hi everybody im programming an application in Android and I don`t know what to do to get this that I am trying. I now that it is very simple but please  help me!</p>
  
  <p>Lets say that I have an array: </p>
  
  <pre><code>String coco[] = { "hi", "everybody", "superman", "batman" };
  </code></pre>
  
  <p>And also I have a:</p>
  
  <pre><code> String heroe = "superman";
  </code></pre>
  
  <p>Now I need to make a loop, method or whatever, that takes "heroe" and search if that value ("superman") its inside the array and then so if that value exist TRUE and if don`t exist FALSE.</p>
  
  <p>Thank you guys.</p>