I'd like to create a method which searches a small String of text (usually no more than 256 characters) for the existence of any of about 20 different words. If it finds one in the text regardless of case it returns a true.
The method will be executed a quite a bit (not a crazy amount) so it has to be as efficient as possible. What do you suggest would be best here?
The 20 words do not change. They are static. But the text to scan does.