In Qt, does one of the containers give me the ability to return a comma-separated string from its values?
If your elements are QString s, you can use QStringList::join() :
QString
QStringList::join()
QStringList list; list << "one" << "two" << "three"; QString s = list.join(","); // s == "one,two,three"