function S = insertAfter(STR, varargin)
%INSERTAFTER Insert text after a specified position.
%   S = INSERTAFTER(STR, POS, TEXT)
%   
%   Limitations:
%   Pattern objects are not supported.
%   
%   See also INSERTAFTER, codistributed/STRING.
%   


%   Copyright 2016-2020 The MathWorks, Inc.

narginchk(3, 3);
% PATTERN is currently not supported
matlab.bigdata.internal.util.errorIfPatternInput('distributed', STR, varargin{:});
S = codistributed.pElementwiseUnaryOp(@insertAfter, STR, varargin{:});
