function s = eraseBetween(str,startStr,endStr,varargin)
%ERASEBETWEEN Remove segments from string elements.
%   STR = ERASEBETWEEN(STR, START, END)
%   
%   Limitations:
%   Pattern objects are not supported.
%   
%   See also ERASEBETWEEN, codistributed/STRING.
%   


%   Copyright 2016-2022 The MathWorks, Inc.

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