Question: Write a function FPractExam that receives a string of character vector text containing words. The function should return the last letter of every word in
Write a function FPractExam that receives a string of character vector text containing words. The function should return the last letter of every word in the text. For example: if the function is called with inarg, the following shows the result: >> inarg =' Hello there Mr Ali >> m = FPractExam(inarg) m = 'oeri' Perform a test on the function as in the above example
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
