Comment

Comment by meggar

There's also split()

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

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton