%% Ignore Case
% Count the number of occurrences of the letter E in a string array that contains names, ignoring case.
% Starting in R2017a, you can create strings using double quotes.

str = ["Edgar Allan Poe";"Louisa May Alcott"]

%

A = count(str,'E','IgnoreCase',true)

% Copyright 2012 The MathWorks, Inc.