I am trying to parse QString
with following code:
QString name = "name.bin";
QStringList imgName = name.split(".");
qDebug() << imgName.at(0); // result is "name"
However I need just name without any (")
. Then I write another code to manually delete quotes("").
Is there any easy way to split QString
?