learn public instance method in class String