05-27-2016, 08:09 AM
If using ICsv:
x.InsertColumn(column_index_or_minus_one)
ARRAY does not have an 'insert column' function.
Need to create new array and copy to it each element of old array plus the new column values.
Or convert ARRAY(str) to ICsv, add column to ICsv, convert ICsv to ARRAY(str). ICsv has functions to convert from/to ARRAY(str).
x.InsertColumn(column_index_or_minus_one)
ARRAY does not have an 'insert column' function.
Need to create new array and copy to it each element of old array plus the new column values.
Or convert ARRAY(str) to ICsv, add column to ICsv, convert ICsv to ARRAY(str). ICsv has functions to convert from/to ARRAY(str).