In theory we could be cleaner about this, but I didn't want to dig in to the existing splitting logic. There's no reason we need to join the strings just to be split again, but meh, it works and isn't slow.