Problem 1638. JOIN STRINGS

Solution 1039088

Submitted on 31 Oct 2016
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Fail
str='MATLABian'; str1='My name'; str3='kjhsdfs'; y_correct ='MATLABian My name kjhsdfs'; assert(strcmp(your_fcn_name(str,str1,str3),y_correct)==1)

ans = MATLABian ans = MATLABianMy name ans = MATLABianMy namekjhsdfs

Assertion failed.

2   Fail
str='This'; str1='is'; str3='MATLAB'; y_correct ='This is MATLAB'; assert(strcmp(your_fcn_name(str,str1,str3),y_correct)==1)

ans = This ans = Thisis ans = ThisisMATLAB

Assertion failed.

Suggested Problems

More from this Author17

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!