Learning the string methods