www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/JoinStringswithMultipleDifferentDelimitersExample.m
%% 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,{' + ',' = '})