20.05.2016, 15:23
Use this function (with loop, i.e. with repeating, because without repeating isn't work):
Code:
stock NumbersInString(const string[], string_length = sizeof string) { static pos; for(pos = -1; ++pos != string_length;) { switch (string[i]) { case '\0': break; case '0' .. '9': return 1; } } }