strjoin [strings]
— Function File: rval = strjoin(prefixstr,stringcell)
— Function File: rval = strjoin(prefixstr,varargs)

joins the strings in stringcell with the prefixstr like the list-join function in Python; the second version allows usage 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).

          strjoin(' loves-> ','marie','amy','beth')
          returns 'marie loves-> amy loves-> beth'
          
          strjoin('*',{'Octave','Scilab','Lush','Yorick'})
          returns 'Octave*Scilab*Lush*Yorick'
See also: strcmp