I want to return an array for a table-row string like:
'31 Chicken 2013 "Chi cken" 12.345 ****'
to an array: ["Chicken", 2013, "Chi cken", 12.345, null]
The columns in the table are defined by any number of one or more spaces (non-tab) between entries. (Entries which contain spaces are enclosed in double quotes and cannot contain quotes themselves.)
The first column is always an integer, which can be discarded, so that the array begins with second column.
Entry can be an integer, float or string.
4 consecutive asterisks **** denote a null value.
Any help?
(link to fuller format info: https://github.com/xoreos/xoreos-docs/blob/master/specs/bioware/2DA_Format.pdf)