Hi every one,

Can anyone give me some idea about this!

I need to check a string is numeric or not.

Example:

if string is 1111111111 returns true

if string is 11111111aa returns false

if string is 11 1111111 returns false

if string is 111~`11111 returns false

Any idea will be nice.. thanks a lot...

Currently i was doing something like this..

```
for (int i = 0; i < chrArray.length; i++) {
if ((chrArray[i] >= 'A' && chrArray[i] <= 'Z') || (chrArray[i] >= 'a' && chrArray[i] <= 'z')) {
hasAlphaAgain = true;
break;
}
}
```

but i also need to have a check for special characters

Thanks in advance!