Question: I need help in MATLAB. I need to know what to do cause i am gettting the last part wrong. take a look Text message
I need help in MATLAB. I need to know what to do cause i am gettting the last part wrong. take a look

Text message expander Write a function called ExpandMessage that receives an input phrase that contains text message abbreviations. The function should return a phrase in which all the text messages abbreviations have been expanded. Both the input and output should be a string scalar. The input phrase could be any length. The following abbreviations should be supported LOL- laughing out loud IDK Idon't know BFF - best friends forever IMHO -in my humble opinion TMI too much information TTYL- talk to you later Restrictions: The internal function replace should be used Ex: userString"IDK how that happened. TTYL." decodedString ExpandMessage userstring) produces "I don't know how that happened. talk to you later." Your Function Save C Reset MATLAB Documentation 1 function decodedstring ExpandMessage ( userstring 3 userString -strrep(userString, 'LOL, 'laughing out loud'; 4 userString- strrep(userst ring,' IDK',.I don''t know'); s userString -strrep(userstring, 'BFF, 'best friends forever' What I put in
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
