Escape commas when exporting students data
-
If a course title contains a comma (,) and a tutor export their student data, the title is not properly escaped. Resulting in a column break in the course title.
Ex.: Some Course, SuperTitle
Becomes —> Date | Username | UserEmail | Some Course | SuperTitle | restData
Instead of —> Date | Username | UserEmail | Some Course, SuperTitle | restData
Take | as column break.
This can be fixed checking if title has a comma and then wrapping inside quotes “”. After that can be placed inside CSV file.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Escape commas when exporting students data’ is closed to new replies.