Unfortunately, it seems that if I have a string field as one of the members of my struct, I can’t have a string that has any commas in it. So for example, the field in the .csv file could look like this (with the quotation marks): “This is, my string”
And when importing that file as a data table asset, the internal parser doesn’t seem to respect the quotation marks as boundaries of an enclosed string - the comma within the string is treated as a field separator.
Is this indeed a bug? If not, how would I go about using a string field with commas inside it?
In FString::ParseIntoArray(), FCString::Strstr(Start,pchDelim) indiscriminately uses the delimiter “,” to gobble the next comma, regardless of its position inside or outside a string delimited by double-quotes.
Is there any chance it will be fixed in 4.5? It’s pretty important for me as well. Or is there any workaround? I need to have periods and commas in a single field containing dialogue line.
I can’t confirm whether it will be fixed in time for 4.5. I’ve entered it into our system (as TTP#343109) and we raised its priority last week. It’s been assigned to someone, but I don’t know anything more than that.