20.05.2016, 15:19
You check each character with a loop:
pawn Code:
ContainsNumbers(const _str_[])
{
for (new i, j = strlen(_str_); i != j; i++)
{
if ('0' <= _str_[i] <= '9') return 1;
}
return 0;
}