In Java, I want to check whether a String exists in a List myList.
List myList
Something like this:
if(myList.contains(\"A\")){ //
You may be able to use an approximate string matching library to do this, e.g. SecondString, but that is almost certainly overkill - just use one of the for-loop answers provided instead.