stdlib: Implement split() function.