Re: subStrings separated by...
Re: subStrings separated by...
- Subject: Re: subStrings separated by...
- From: Art Isbell <email@hidden>
- Date: Wed, 17 Dec 2003 12:05:34 -1000
On Dec 17, 2003, at 11:34 AM, Ricardo Strausz wrote:
This most be an easy one (for someone who knows Java);
in a validateAtribute(String value) method of an EOGenericRecord's
child, I want to check if the value have the form ABC-123456-XYZ (3
letters, dash, 6 numbers, dash, 3 alphanumeric characters).
If you're using Java 1.4.1, look at the java.util.regex package. If
you're using Java 1.3.1, look at http://jakarta.apache.org/regexp/ for
a Java regular expression library.
Aloha,
Art
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.