%% Find Characters
% Create a character vector.

M = 'masterpiece';

%
% Test for the presence of a specific character using ~=.

M ~= 'n'

% The value of logical 1 (true) indicates the absence of the character 'n'. The character is not present in the vector.
% Copyright 2012 The MathWorks, Inc.