Hi everybody.
QT 4.1.3 Win MINGW
I am trying to replace "'"with "\'" but its not working :crying:
Have somebody a idea why not?
Don't musst be Don\'t after replacing
Code:
//style = Don't //test = Don't and not Don\'t :crying:
Printable View
Hi everybody.
QT 4.1.3 Win MINGW
I am trying to replace "'"with "\'" but its not working :crying:
Have somebody a idea why not?
Don't musst be Don\'t after replacing
Code:
//style = Don't //test = Don't and not Don\'t :crying:
"\" is an escape character and must be escaped itself it not used as an escape char:
Code:
str.replace("'", "\\'");
Hi jpn`:p
thanks it works!!