Possible Duplicate:
In Java, how can I test if an Array contains a certain value?
I want to check for a string S
whether it is present in string array
or not. Is there any direct method to do so ?
EDIT
If the answer excludes the use of List
then that would be better.