Subversion Repositories Kolibri OS

Rev

Rev 7495 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7495 Rev 7516
Line 926... Line 926...
926
	return 0;	// search command/function name
926
	return 0;	// search command/function name
927
}
927
}
928
>
928
 
929
>
929
unsigned int chrnum(char* text, char symbol)
Line -... Line 930...
-
 
930
{
-
 
931
	int num = 0;
-
 
932
	int i = 0;
-
 
933
	while(text[i])
-
 
934
	{ 
-
 
935
		if (text[i] == symbol) num++;
-
 
936
		i++;
-
 
937
	}
-
 
938
	return num;
-
 
939
}
-
 
940
>
-
 
941
>