@cocoaphony @Catfish_Man Oh yeah, that's a great consequence of how Swift handles strings. No need to fiddle with new-line sequences, as they are just characters. However, to split, always use Character.isNewLine. It detects all sorts of new line things, including the ones you didn't know existed. https://developer.apple.com/documentation/swift/character/isnewline
@arroz @Catfish_Man Honestly, I had never thought of:
.split(whereSeparator: \.isNewline)
I'd gone round rubin's barn with Data and `UInt8(ascii: "\n")`, but `.isNewLine` is so much simpler. Thank you.