Planned maintenance has been done but it did not solve the problem. So work will continue on this and a new time for trying updates will be announced asap.
remove brackets when printing qstringlist
GrahamL last edited by
When I do this
QStringList list = QStringList() << "one" << "two"; qDebug() << list;
The output is (one,two)
Is there a way of getting this without the brackets?
Harism last edited by
Using QStringList.join you could achieve desired results ;
QStringList list = QStringList() << "one" << "two"; qDebug().noquote() << list.join(", ");
Playing around with this method quite likely gives you output you are after.