Skip to content

Config property to control trimming whitespaces in CSV parser#696

Merged
appel1 merged 7 commits intoExcelDataReader:developfrom
Hasan-75:feature/trim-csv-white-space-config
Apr 19, 2025
Merged

Config property to control trimming whitespaces in CSV parser#696
appel1 merged 7 commits intoExcelDataReader:developfrom
Hasan-75:feature/trim-csv-white-space-config

Conversation

@Hasan-75
Copy link
Contributor

@Hasan-75 Hasan-75 commented Jan 22, 2025

Fixes #566

Summary:

  • Added new boolean property TrimWhiteSpace in ExcelReaderConfiguration class.
  • If TrimWhiteSpace is true, parsed CSV cell values will be trimmed.
  • If TrimWhiteSpace is false, parsed CSV cell values will not be trimmed.
  • Default for TrimWhiteSpace is true
  • This config works for CSV only

@Hasan-75 Hasan-75 changed the title Issue #566: Config property to control trimming whitespaces in CSV parser Config property to control trimming whitespaces in CSV parser #566 Jan 22, 2025
@Hasan-75 Hasan-75 changed the title Config property to control trimming whitespaces in CSV parser #566 Config property to control trimming whitespaces in CSV parser Jan 22, 2025
@appel1 appel1 merged commit 1af3e24 into ExcelDataReader:develop Apr 19, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Spaces in CSV are automatically trimmed

2 participants