Добавить
Уведомления

Fix CSV import "new line" issue

Though our code for importing CSS work, there are cases where it fails. It is time to fix those cases. First up is the fact that if the file imported contains a carriage return within a text, our script will read that as a new row of data and the second thing is that sometimes strings has apostrophes surrounding them. In the second case our function we created in the last episode using TDD will come in handy. Original video where I build the CSV import script: https://youtu.be/tKFjjM6A5WA GIT repository: https://github.com/virdun/DiscoveringDataFlexWebDemo

12+
15 просмотров
2 года назад
2 декабря 2023 г.
12+
15 просмотров
2 года назад
2 декабря 2023 г.

Though our code for importing CSS work, there are cases where it fails. It is time to fix those cases. First up is the fact that if the file imported contains a carriage return within a text, our script will read that as a new row of data and the second thing is that sometimes strings has apostrophes surrounding them. In the second case our function we created in the last episode using TDD will come in handy. Original video where I build the CSV import script: https://youtu.be/tKFjjM6A5WA GIT repository: https://github.com/virdun/DiscoveringDataFlexWebDemo

, чтобы оставлять комментарии