I am learning to script in Bash.
I have a CSV file with 5 columns and 22 rows. I am interested in taking the data from the second column and put it into an array. >
Better is to use readarray. No need to mind about IFS which could have any value, and is safe from pathname expansion.
readarray
readarray -t eCollection < <(cut -d, -f2 MyAssignment.csv) printf '%s\n' "${eCollection[0]}"