I have a QList of strings that contain portions of URLs that look like this:
/search/?q=god%20of%20war%3A%20collection%20-%20playstation%203&suggestionV=2
.
I'm removing the /search/?q=
, &suggestionV=2
and %20
portions with the .replace()
function as so: currentString.replace("/search/?q=", "").replace("&suggestionV=2", "").replace("%20", " ");
which results with: "god of war%3A collection - playstation 3"
. How do I escape the html character codes found here: https://www.obkb.com/dcljr/charstxt.html in QT? I need to convert the %3A and other codes to the plaintext format so %3A
gets converted to :
.