append
combines strings horizontally.
📝Syntax
res = append(s1, s2, ..., sN)
📥Input Arguments
Parameter Description
s1, s2, ..., sN a string, string array or cell of strings.
📤Output Arguments
Parameter Description
res a string, string array or cell of strings.
📄Description

strcat combines strings horizontally.

If all inputs are character arrays, then res is a character array.

If any input is a string array, then the res is a string array.

If any input is a cell array, and none are string arrays, then res is a cell array of character vectors.

append does not remove trailing white space.

💡Examples
append("Nelson", 'nelSon')
A = {'abcde','fghi'};
B = {'jkl','mn'};
C = append(A, B)
🔗See Also
strcat
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub