Implement String's iterator.