posted 17 years ago
Define "numeric". Is 0xA80 numeric? What about FF or 909.09? Generally speaking if you're talking about an integral value in base 10 you could use String.matches("-?\\d+") (I think) or you could try passing it to Integer.parseInt() and catching the exception if it occurs. If it's more complicated than that then you'll have to get more specific I think.
[ October 27, 2006: Message edited by: Ken Blair ]