Problem 41. Cell joiner

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

46.34% Correct | 53.66% Incorrect
Last Solution submitted on Nov 25, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers6120

Suggested Problems

More from this Author96

Problem Tags

Community Treasure Hunt

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

Start Hunting!