CString str = _T("..../abcdefg.html/.......");
LPCTSTR szToken = _T("/");
int len = _tcslen(szToken);
int start = str.Find(szToken);
if(-1 != start)
{
int end = str.Find(szToken, start+len);
if(-1 != end)
{
start += len;
CString strText = str.Mid(start, end - start);
AfxMessageBox(strText);
}
}Visual C++ enthusiast, like network programming and driver development. At present is being engaged in the WinCE/Windows Mobile platform embedded development.