Rewrote the innards of ssplit() to be easier to understand,