Question: MATLAB! Make sure its UPPER CASE Write a function rid multiple_blanks that will receive a string as an input argument. The string contains a sentence
Write a function rid multiple_blanks that will receive a string as an input argument. The string contains a sentence that has multiple blank spaces in between some of the words. The function will return the string with only one blank in between words and with upper-case letters. For example, >> mystr = 'Hello and how are you? >> rid multiple blanks (mystr) HELLO AND HOW ARE YOU
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
