CString str1 = " abcdef";
CString str2 = "abc";
if(str1.Find(str2) >= 0)
{
return TRUE;
}
else
{
return FALSE;
}
str1包含了str2,所以最后返回TRUE
CString str1 = " abcdef";
CString str2 = "abc";
if(str1.Find(str2) >= 0)
{
return TRUE;
}
else
{
return FALSE;
}
str1包含了str2,所以最后返回TRUE