Thanks @JoelQ, didn't know `split` could do that.