lanceengland / EdiTools

PowerShell scripts for managing and parsing EDI files
MIT License
9 stars 4 forks source link

Parsing issue with segment split #8

Closed lanceengland closed 4 years ago

lanceengland commented 5 years ago

The segments parsing logic failed at a client site because the segment string had a leading segment delimiter. In this case, "~ST*835*12345", which broke the split into array.

The source files were wrapped (no cr/lf) with segment delimiter of ~

lanceengland commented 4 years ago

Issue addressed in re-write