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