fix split() so that it gathers empty strings

This handles delimiters at start and end of string too.