%% String Scalar and Character Vector
% Create a string scalar by enclosing a piece of text in double quotes. Determine whether it is a scalar.

A = "Hello, World!";
TF = isscalar(A)

% Now create a character vector by enclosing a piece of text in single quotes. Determine whether it is a scalar.

B = 'Hello, World!';
TF = isscalar(B)

% Check the dimension of B using size. B is not a scalar since it has a size of 1-by-13.

sz = size(B)

%
% Copyright 2018 The MathWorks, Inc.