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