Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to remove a ' from a string Qt 6.01
-
Quick question that I am sure someone knows the answer to. I am trying to remove the ' from the word can't in a qstring. I have tried everything from just a regular remove and a replace to qregularexpression which I am sure I was probably doing incorrectly. Any help would be greatly appreciated.
-
This post is deleted!
-
Hi,
Can you show what you tried ?
Where does the text come from ? The char you are trying to replace might not be the one you think it is.
-
problem it was actually a right quote not a apostrophe and the remove("") function works beautifully.