This can be stated a little more simply as:
result = @my_string.split('.')