Skip to Main Content

Java Programming

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!

check if this token is a digit

807603May 12 2007 — edited Nov 29 2007
Hi all

if i have the following

name 30 CS 80 county 5555

after i did the stringTokenizer
i want to check
if the token is digit
then do nothing
else
do womething

but when i tried the
str.isDigit(str)
//where str is the string tokenz but i wont work
what is the reason??

any ideas???
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 27 2007
Added on May 12 2007
11 comments
531 views