Skip to content

Commit

Permalink
Trim header values
Browse files Browse the repository at this point in the history
  • Loading branch information
duhast committed Jun 20, 2024
1 parent fecd138 commit a68af06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/ngx-csv-parser/src/lib/ngx-csv-parser.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export class NgxCsvParser {
const headers = csvRecordsArr[0];
const headerArray = [];
for (const header of headers) {
headerArray.push(header);
headerArray.push(header.trim());
}
return headerArray;
}
Expand Down

0 comments on commit a68af06

Please sign in to comment.