%% Join Character Vectors with Multiple Different Delimiters
% Specify multiple different delimiters in a cell array of character vectors. The delimiter cell array must have one fewer element than C.

C = {'one','two','three'};
str = strjoin(C,{' + ',' = '})

% Copyright 2012 The MathWorks, Inc.