raphaelf
24th October 2006, 11:30
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
//style = Don't
QString style = ui.add_new_style_le->text();
QString test = style.replace(QString("'"), QString("\'"));
//test = Don't and not Don\'t :crying:
QMessageBox::information(this,"",test);
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
//style = Don't
QString style = ui.add_new_style_le->text();
QString test = style.replace(QString("'"), QString("\'"));
//test = Don't and not Don\'t :crying:
QMessageBox::information(this,"",test);