lsplit2

Like split but will return a tuple of 2 elements on a match. None on no match. I've seen this implemented a couple of times in various code bases so this is definitely useful.
Oops, that is buggy behavior. Will fix.