aurel Opublikowano 13 Listopada 2009 Zgłoś Opublikowano 13 Listopada 2009 (edytowane) boost::replace_all(result.text,L"^",L""); //<--działaboost::replace_all(result.text,L"~",L"");boost::replace_all(d_currentPartText.substr(result.start, result.end),L"^",L" "); // <-- nie działaboost::replace_all(d_currentPartText.substr(result.start, result.end),L"~",L" ");d_currentPartText.substr(0,result.start).find(L"^") //<-- działa Ma ktoś pojęcie, dlaczego...? d_currentPartText jest typu wstring Edytowane 13 Listopada 2009 przez aurel Cytuj Udostępnij tę odpowiedź Odnośnik do odpowiedzi Udostępnij na innych stronach Więcej opcji udostępniania...