PHP Code:
stock bStringAreNumbers(const String[])
{
for(new i, maxloop = strlen(String); i < maxloop; i++)
{
if( ! ( '0' <= String[ i ] <= '9' ) ) return false;
}
return true;
}
although listen for what bugsy told you, this example is just for clarification!
__________________