xj qian
2024-06-27 e4b4c508c599943ddb22b7d4868ccd40ac05a043
jrj/xframe/src/xstring.cpp
@@ -595,7 +595,11 @@
    return false;
}
xstring xstring::replace(wchar_t* from, wchar_t* to, int pos)
xstring xstring::replace(const wchar_t* from, const wchar_t* to)
{
    return replace(from, to, 0);
}
xstring xstring::replace(const wchar_t* from, const wchar_t* to, int pos)
{
    const wchar_t* pstr = c_str();
    if (!pstr) return 0;