extractAfter
Extract substrings after specified positions
Description
extracts the substring that begins after the substring specified by
newStr
= extractAfter(str
,pat
)pat
and ends with the last character of
str
. If pat
occurs multiple times in
str
, then newStr
is str
from the first occurrence of pat
to the end.
If str
is a string array or a cell array of character vectors,
then extractAfter
extracts substrings from each element of
str
. The output argument newStr
has the
same data type as str
.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2016b