Added implementation of most methods of String.