Protip: always pass `-1` as a 2nd argument to split(). Otherwise dangling separators are omitted. (It treats `a,b,` as equal to `a,b`).