Hacker News new | ask | show | jobs
by meggar 2730 days ago
There's also split()

    let parts = l.split(separator: ",").map{ $0.split(separator: "=") },
        first = parts[0],
        second = parts[1]