implement String class like java user Objective-C