%% Combine Character Vectors
% Create two character vectors, with the first character vector having a trailing whitespace character.

chr1 = 'Hello ';
chr2 = 'World';

%
% Combine them into one character vector.

chr3 = append(chr1,chr2)

%
% The append function always preserves trailing whitespace characters, unlike the strcat function. (strcat removes trailing whitespace characters from character vectors.)

chr4 = strcat(chr1,chr2)

% Copyright 2018 The MathWorks, Inc.