insertAfter
Description
inserts the string newStr
= insertAfter(str
,subStr
,new
)new
into the string str
after
the substring subStr
. insertAfter
inserts
new
after every occurrence of subStr
.
inserts newStr
= insertAfter(str
,pos
,new
)new
into str
after the character position
pos
.
Note
The insertAfter
operator is not supported in Stateflow® charts that use C as the action language.
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