Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
Might be useful to have containsAny(String, char[]) and containsAny(String, String) methods.
They would be the inverse of containsNone() (so are not strictly necessary), but to my eyes
containsAny(str,"abc")
looks nicer and is easier to read than the double negative
!containsNone(str,"abc")