Hello,
I am using the QSettings object to read an IniFormat file. I find that it will not return the correct string when commas are present. For example:
When something like…
[SECTION]
Value=1,2,4
is read, the result of doing
mySettings.value("Section/Value","").ToString();
would be “1”. everything after the first comma is ignored.
Can anyone please clarify if this is this the normal behaviour?
I cannot find any mention of such behaviour in the documentation. Any suggestions as to to what one might do to work around this. Unfortunately I cannot change the contents of the INI file.
Many thanks.
↧