commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Colebourne" <>
Subject [lang] ContainsOnly and ContainsNone
Date Mon, 24 Mar 2003 00:57:23 GMT
I added an overload for containsOnly() so we have versions taking a char[]
and a String.

I also added containsNone() as the opposite function.

Both of these are designed for validation code that needs to limit which
characters are, or are not, allowed into a field.

Any problems?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message