Implemented clear() and split()