extractAfter
Extract substring 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.
extracts the substring that begins after the position specified by newStr
= extractAfter(str
,pos
)pos
and ends with the last character of str
.
Note
Only Stateflow® charts that use MATLAB® as the action language support the extractAfter
operator.
Examples
Limitations
This operator does not support structures. For more information about structures in Stateflow, see Access Bus Signals Through Stateflow Structures.