Worked example
Before
red
green
blueAfter
red, green, blueThe default separator inserts a comma and one space between the three lines.
Exactly what this changes
- PlainSift places the selected delimiter between each parsed line. The source order is preserved, and the line values themselves are not trimmed, quoted, escaped, or otherwise rewritten before they are joined.
- This is a literal delimiter joiner, not CSV serialization. If a value already contains the chosen delimiter, the result can be ambiguous to another splitter. A local note appears when that condition is detected.
- The shared parser normalizes source line endings to LF for operation purposes and tracks a final terminator separately. When the source ends with a line terminator, the single joined result keeps a final LF as well.
Options and edge cases
- Choose comma, semicolon, tab, or a custom delimiter containing one to four characters. Comma and semicolon can include one following space; tabs and custom delimiters are inserted exactly as selected.
- The spacing option affects the separator only. It does not remove spaces already present at the beginning or end of a value, so add a Trim lines step first if those spaces are unwanted.
Edge case: Quoted fields and embedded delimiters receive no special treatment. Use a dedicated, reviewed CSV library outside this product when standards-compliant CSV escaping is required.