How to check the duplicated record in a .CSV file?
I am using the CSV to batch create user accounts, but I am facing a problem that if there is duplicated “username” in the .csv file, how can I catch it before I run into the real batch creating process.
For example, I have a .csv file like this:
Username, password, email
Abc, 1234, abc@yahoo.com
cba, 1234, cba@yahoo.com
Abc, 1234, abc@yahoo.com
Since the system won’t allow duplicated username, how do I find out there is (are) duplication(s) in the uploaded file.
Thank you for any help on this.
I am using the CSV to batch create user accounts, but I am facing a problem that if there is duplicated “username” in the .csv file, how can I catch it before I run into the real batch creating process.
For example, I have a .csv file like this:
Username, password, email
Abc, 1234, abc@yahoo.com
cba, 1234, cba@yahoo.com
Abc, 1234, abc@yahoo.com
Since the system won’t allow duplicated username, how do I find out there is (are) duplication(s) in the uploaded file.
Thank you for any help on this.