Cody

Problem 41. Cell joiner

Created by Cody Team in Community

You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string from the cell array separated by the delimiter.

For example, this input

 in_cell = {'Lorem', 'ipsum', 'dolor', 'sit', 'amet', 'consectetur'};
 delim = ' ';

should produce this output:

 out_str = 'Lorem ipsum dolor sit amet consectetur';

Solution Stats

41.35% Correct | 58.65% Incorrect
Last solution submitted on Jun 25, 2019

Problem Comments

Solution Comments