%% Create Cell Array of Character Vectors
% To create a cell array of character vectors, use curly braces, {}, just as you would to create any cell array. For example, use a cell array of character vectors to store a list of names.

C = {'Li','Sanchez','Jones','Yang','Larson'}

%
% The character vectors in C can have different lengths because a cell array does not require that its contents have the same size. To determine the lengths of the character vectors in C, use the strlength function.

L = strlength(C)

% Copyright 2019 The MathWorks, Inc.