xj qian
2024-06-27 b8e6a7bb37d04f1e974e231a5caffc1854cf7f41
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;