strmfind numbers.
#4

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;
		}
	}
}
Reply


Messages In This Thread
strmfind numbers. - by Luicy. - 20.05.2016, 15:13
Re: strmfind numbers. - by Konstantinos - 20.05.2016, 15:19
Re: strmfind numbers. - by Luicy. - 20.05.2016, 15:21
Re: strmfind numbers. - by VVWVV - 20.05.2016, 15:23

Forum Jump:


Users browsing this thread: 1 Guest(s)