This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=begin | |
Write a method that will take a tweet, search it for | |
words that you can substitute, and return a substituted string | |
tweet. For instance, the tweet "Hello to you, I'm at home" | |
would become "Hi 2 u, I'm @ home". The client has provided | |
the following acceptable substitutes. => e | |
Objectives | |
1. Write a method to shorten a string based on the allowed substitutes |