%% Matching literal text
% Extract a name from text using pattern.
%

txt = "Wow! Isn't MATLAB a wonderful tool?";
pat = pattern("MATLAB");
contains(txt,pat)

% Copyright 2020 The MathWorks, Inc.