% -*- texinfo -*- % @deftypefn {Function File} @var{rval}= {} strjoin(@var{prefixstr},@var{stringcell}) % @deftypefnx {Function File} @var{rval}= {} strjoin(@var{prefixstr},@var{varargs}) % joins the strings in @var{stringcell} with the @var{prefixstr} like the list-join % function in Python; the second version allows error with variable number of arguments. % Note that, if using cell-array as a second argument, only 2 arguments are accepted. % Also note that, both the arguments are strings or containers of strings (cells). % % @example % @group % strjoin(' loves-> ','marie','amy','beth') % %%returns 'marie loves-> amy loves-> beth' % % strjoin('*',@{'Octave','Scilab','Lush','Yorick'@}) % %%returns 'Octave*Scilab*Lush*Yorick' % @end group % @end example % @end deftypefn % @seealso {strcmp} %