I have a QString, properties, formatted something like: keyvalue = key <delimiter1> value properties = keyvalue *( <delimiter2> keyvalue )
E.g.: "color:red;material:wood;name:joe" or "color=red&material=wood&name=joe" where <delimiter1> and <delimiter2> are arbitrary but known ahead of time. I'm loading the key/value pairs into a QMap<QString,QString>. Easy enough to parse, my only question is: Does Qt already have something built-in to parse key/value pairs with arbitrary delimiters into some data structure? (Doesn't necessarily have to be a QMap<QString,QString>) Just wondering if there's a one-liner to do it in the Qt API somewhere. Thanks! Jason
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest