wxString::Replace

Lloyd lloyd at cdactvm.in
Fri Oct 5 07:17:41 PDT 2007


Hi,

I want to use "wxString::Replace" to replace a character in the string
with other

The input string is GET+

I want to replace "+" with "\+"

For that I do like this

 Input.Replace(wxT("+"),wxT("\\+"));

The output is - GET\\+

So I tried

 Input.Replace(wxT("+"),wxT("\+"));

The output is - GET+

How can I get the desired output?

Thanks and Regards,
 Lloyd




______________________________________
Scanned and protected by Email scanner




More information about the wx-users mailing list