%% Create Simple Strings
% Do not publish this whole example. Use sections as simple examples in the "Create" section of the string object ref page.
%% Create String Scalar

str = "Hello, world"

%
%% Create String Array

str = ["Mercury","Gemini","Apollo";
       "Skylab","Skylab B","ISS"]

% Copyright 2012 The MathWorks, Inc.