Unsolved parse strings with tags
-
This post is deleted! -
@fari35
Your code seems to have nothing to do with Qt. Goodness knows how it works. It sounds like all you want do is useQRegularExpression
andQString::replace(const QRegularExpression &re, const QString &after)
. -
Hi,
Are you working with XML data ?
-
@SGaist Actually I have made a client that will send the messages with tags like the one I have shown, so I have to change the values of tags. I have been told to use std::string.find() and std::string.substr(). but I am not getting the required output.
-
Why did you delete the question ?
As for the edition, since you control the tags, then QRegularExpression and QString should fit well.