concatena strings
txt = strcat(strings) txt = strcat(strings, string_added) txt = strcat(strings, string_added, "r") txt = strcat(strings, string_added, "c")
vetor de strings
string adicionado, o valor padrão é emptystr
""
string
"r"
cola todas as linhas de cada coluna, no
array strings
.
"c"
cola todas as colunas em cada linha.
txt=strcat(vector_of_strings)
concatena strings :
txt=vector_of_strings(1)+...+vector_of_strings(n)
txt=strcat(vector_of_strings,string_added)
retorna
txt=vector_of_strings(1)+string_added+...+string_added+vector_of_strings(n)
.
O símbolo de mais faz o mesmo: "a"+"b"
é o mesmo
que strcat(["a","b"]).
Se o tamanho de vector_of_strings for um, retorna
txt=vector_of_strings(1);
strcat('A','B')
retorna 'A' , não 'AB' como
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") | ![]() | ![]() |