xj qian
2024-07-01 d013a35ef5bb3b45b46362c67d6f3ca52a54e96d
jrj/xframe/wobject/xstring.hpp
@@ -17,12 +17,16 @@
   xstring(int val);
   xstring(double val);
   xstring(LPARAM val);
   xstring(LPARAM val,bool bdata=false);
   xstring(wchar_t* val, bool shouldSysFree = false);
   xstring(const wchar_t* val, bool shouldSysFree = false);
   ~xstring();
public:
   operator LPARAM()
   {
      return (LPARAM)data;
   }
   operator const wchar_t*()
   {
      return c_str();
@@ -87,7 +91,8 @@
   xstring rtrim();
   bool isNumber();
   xstring replace(wchar_t* from, wchar_t* to, int pos);
   xstring replace(const wchar_t* from, const wchar_t* to);
   xstring replace(const wchar_t* from, const wchar_t* to, int pos);
};
xstring operator +(const wchar_t* lhs, const xstring& rhs);