Code:
CString ID_Parser(CString StrText)
{
	int Blah1 = strstr(StrText, "<td><font face=arial size=\"-1\" color=\"#660000\"><b>");
	int Blah2 = strstr(StrText, "</b></font>");

	StrText = StrText.Mid(0, Blah1 + 50);
	StrText = StrText.Left(Blah2 - 1);

	return StrText;
}
This obviously doesnt work... Im trying to write a function to parse the ID from a yahoo profile, this is what I have so far but isnt working because of strstr(), Im wondering if there is an alternative function (maybe in the CString class) that will return the postition of a certain string, like vb's InStr ? or if you can show me another method it would be much appreciated!

Thanks