Description
Presently there is a: public static boolean containsAny(CharSequence cs, char... searchChars). It would be useful to have the: public static boolean containsAny(CharSequence cs, CharSequence... searchCharSequences) which will return true if any of the searchCharSequences are contained within the cs. If you decide to implement it, it would be nice to have an alias method for collections, e.g., public static boolean containsAny(CharSequence cs, Collection<CharSequence> searchCharSequences)
Attachments
Attachments
Issue Links
- duplicates
-
LANG-733 Add containsAny(CharSequence cs, CharSequence... searchChars) to StringUtils
- Closed