Faster string.split implementation.