concatenate character strings
txt=strcat(vector_of_strings [,string_added]) txt=strcat(vector_of_strings [,string_added, ["flag"]])
vector of strings
string added, default value is the emptystr
""
string
string ( "r" for return a row matrix, "c" for return a column matrix)
txt=strcat(vector_of_strings) concatenates
character strings :
txt=vector_of_strings(1)+...+vector_of_strings(n)
txt=strcat(vector_of_strings,string_added)
returns
txt=vector_of_strings(1)+string_added+...+string_added+vector_of_strings(n).
The plus symbol does the same: "a"+"b" is the
same as strcat(["a","b"]).
If size of vector_of_strings is one, it returns
txt=vector_of_strings(1);
strcat('A','B') returns 'A' and not 'AB' as
strcat(['A','B'])
strcat(string(1:10),',') strcat(["a","b"]) strcat(["a","b"],'|') strcat('A') strcat('A','B') strcat(['A','B']) strcat(['A','B'],'') m =["a" "b" ; "c" "d"]; strcat(m, "r") strcat(m, "", "r") strcat(m, "", "c") | ![]() | ![]() |