20200422 1709
01 Input
zi,1,2,3, name,acomp,bbank,ccoffee amount,100,474,12345 |
02 codes
dict := {}
Loop, Read, zTestCSV.csv
{
row := StrSplit(A_LoopReadLine, ",")
key := row[1]
row.RemoveAt(1)
dict[key] := row
}
; TEST
For Key,Val in dict
{
Output := "Key '" Key "' has: "
Loop % Val.Length()
{
Output .= Val[A_Index] ", "
}
MsgBox % Output
}
ExitApp
ESC::ExitApp