2 ms·
Have you opened a ticket about that? This is more due to the split implementation than to the format itself. Room for improvement.
by Twisell 8y ago
Have you opened a ticket about that? This is more due to the split implementation than to the format itself. Room for improvement.
- deleted 8y ago[deleted]
- eridius 8y agoThis is not an issue with the split implementation. Split is behaving correctly (according to the defined semantics of String). You'd get the exact same issue if you said str.index(of: ",") instead; in both cases, the "," is a Character, not a UnicodeScalar, and "," != ",\u{301}".