Abbreviate the given string. Consider Only Capital Letters.
If input is 'Abbreviation of The Given String' then output should be 'A T G S '.
Note: There should be a space at the end of the abbreviated word.
In the swecond test case, you have:
x ='The Propose is to Make ABBREBIATION';
y_correct = 'T P M A ';
Are "is" and "to" to be ignored, or should the rule be "Only abbreviate words that begin with capital letters?"
Twins in a Window
Make a run-length companion vector
Number of Horns on a unicorn!
Who is the smartest MATLAB programmer?
Put Two 1D matrices into one 1D matrix
ZigZag matrix with reflected format
Power The Product
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office