public static boolean containsAny ( final String value , final String [ ] needles , final boolean caseSensitive ) { validate ( value , NULL_STRING_PREDICATE , NULL_STRING_MSG_SUPPLIER ) ; return Arrays . stream ( needles ) . anyMatch ( needle -> contains ( value , needle , caseSensitive ) ) ; }
Verifies that one or more of needles are contained in value .