on 01-03-2012 10:57 AM
hi,
I am new with Java.
I have a question :
I would like to check whether a String starts with "AAA" and followed by exactly 5 or 7 digits.
like AAA22222, or AAA9999999
an example is welcome.
kind regards,
Ben.J.
Ben,
Please use the String class methods to achieve your requirement.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.