News for hackers. Stuff that matters.
Re:Why it’s hard for programmers to write a program to flatt... by franciscop on Friday February 24, 2017 @02:17PM (#13726726)
That is indeed, depending on the context (you know the strings won't contain commas OR that it should be split in the commas), one way to do it in Javascript ( https://github.com/franciscop/umbrella/blob/master/src/plugi... ):

    return args.toString().split(/[\s,]+/).filter(/* ... */);

There are no comments on this comment yet.