function s = extractBetween(str,startStr,endStr,varargin)
%EXTRACTBETWEEN Create a string from part of a larger string.
%   S = EXTRACTBETWEEN(STR, START, END)
%   S = EXTRACTBETWEEN(..., 'Boundaries', B)
%   
%   Limitations:
%   Pattern objects are not supported.
%   
%   See also EXTRACTBETWEEN, codistributed/STRING.
%   


%   Copyright 2016-2022 The MathWorks, Inc.

s = extractEraseBetweenCommon('extractBetween',str,startStr,endStr,varargin{:});