Question: Matlab ACTIVITY 23.42.1: Text Message Expander (Strings) This tool is provided by a third party. Your activity is always but you may need to refresh
ACTIVITY 23.42.1: Text Message Expander (Strings) This tool is provided by a third party. Your activity is always but you may need to refresh the page to fill in the banner Text Message Expander Write a function ExpandMessage that receives an input phrase that contains text message abbreviations. The function returns a pt which all the text messages abbreviations have been expanded. Both the input and outputs should be character arrays. Support the abbreviations LOL--laughing out loud IDK -Idon't know BFF best triends forever IMHO in my humble opinion TMI- too much information TTYL-talk to you later The input phrase could be any length. For example: userst ringe . IDK how that happened. TTYL.. decodedString ExpandMessage( userstring) Produces I don't how that happened. talk to you later Restriction Use the internal function strrep Your Function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
