%% Split Character Vector on Whitespace

str = 'The rain in Spain.';
C = strsplit(str)

% C is a cell array containing four character vectors.
% Copyright 2012 The MathWorks, Inc.