Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

boolean isInteger() Method

807598Aug 16 2006 — edited Nov 12 2009
I am trying to parse a text line.

I would like to pick up the substring after the first period provided the last three characters before the period form an integer. Is there a method to check for integer format or property NaN in a given string. I have looked through Integer, Number and Math Classes....

Thanks in advance.

Qamar A.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 10 2009
Added on Aug 16 2006
4 comments
474 views