%% Character Vector and String Scalar
% Create an array of characters. Determine whether it is a vector.

A = 'Hello, World!';
TF = isvector(A)

% Check the dimension of A using size. A is a 1-by-13 character vector.

sz = size(A)

% Now create a string scalar by enclosing a piece of text in double quotes.

A = "Hello, World!";

% Check whether the scalar A is also a vector.

TF = isvector(A)

%
% Copyright 2018 The MathWorks, Inc.