Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hi 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?
Thanks
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.