split-on-last

Like split-on-first but splits on the last occurence.

Browse on unpkg