extractAfter
Description
returns the substring of newStr
= extractAfter(str
,subStr
)str
that begins after the first occurrence of
the substring subStr
. If subStr
occurs multiple
times in str
, then newStr
is
str
from the first occurrence of subStr
to the
end.
returns the substring of newStr
= extractAfter(str
,pos
)str
that begins after the character position
pos
.
Note
The extractAfter
operator is not supported in Stateflow® charts that use C as the action language. For similar functionality, use
substr
.
Examples
Input Arguments
Limitations
This operator does not support the use of Stateflow structure fields or messages. For more information about structures in Stateflow, see Access Bus Signals.
Version History
Introduced in R2021b