1 post found
Swift's split(separator:) omits empty subsequences by default, so a,,c becomes two fields, not three. Here's how that shifts CSV and TSV columns, why Windows CRLF line endings never split on a newline, how components(separatedBy:) differs, and the safe way to parse delimited lines.