title: checking a string in array
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1128723/in-java-how-can-i-test-if-an-array-contains-a-certain-value">In Java, how can I test if an Array contains a certain value?</a>  </p>
  </blockquote>
  
  
  
  <p>I want to check for a string <code>S</code> whether it is present in <code>string array</code> or not. Is there any direct method to do  so ?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>If the answer excludes the use of <code>List</code> then that would be better.</p>