I have an AutoIt Script that i need to get the Columns in CSV file and load them into an array (Possibly a multidimensional array or array of arrays). I have used the CSV.au3 functions by ProgAndy which can load the rows into an array just fine, but I need the rows in an array.
Thanks in advance for any help.
EDIT
To elaborate, Currently my csv file looks like the following.
Item 1, Item 2, Another Item
Item 3, Item 4
When I parse the CSV using CSV.au3 by ProgAndy it creates a multidimensional array that looks like the following.
$aResult[0] = [0] => 'Item 1', [1] => 'Item 2', [2] => 'Another Item'
$aResult[1] = [0] => 'Item 3', [1] => 'Item 4'
Where I truly would like the arrays to look like the following.
$aResult[0] = [0] => 'Item 1', [1] => 'Item 3'
$aResult[1] = [0] => 'Item 2', [1] => 'Item 4'
$aResult[2] = [0] => 'Another Item'
Meaning that for each array it will contain the column not the row.