well, there is no isDigit method in String, which is what you're calling.
There is a static one in Character, which I guess you're thinking you're calling.
But you need to do that differently, something like Character.isDigit(ch)
Reputation Points: 1658
Solved Threads: 331
duckman
Offline 7,719 posts
since Nov 2004