#include "stdafx.h"
#include <string>
#include <iostream>
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
string str = "abcdefgh+q\"jkeeeee\"lnm";
cout << "str==" << str<< endl;
string temp;
string aaa;
int i = str.find("h");
cout << "i==" << i <<endl;
aaa = str.substr(i+4,8);
cout << "aaa=" << aaa <<endl;
int i3 = aaa.find("\"");
cout << "jige==" << i3 <<endl;
if (i != str.npos)
{
cout << "yes" << i << endl;
temp = str.substr(i+4, i3);
cout << "hello=-=" << temp << endl;
}
return 0;
}