Example CSV file:
Code: Select all
Startdate,Enddate,Class,Candidate,Birthdate,Code
"1-8-2017","31-7-2018","1L","Student 1126, Carol","24-4-2002","PEKZDAS7JT7E"
"1-8-2017","31-7-2018","1L","Student 1235, James","12-5-2001","NGSQL5SE98RG"
Code: Select all
FileRead, StartCode, startcode.csv
Loop, Parse, Startcode, `n, `r
{
Stringsplit, parts, A_LoopField, `,, ""
{
MsgBox %parts5%
}
}