strip
Description
removes consecutive whitespace characters from the beginning and end of the string
newStr
= strip(str
)str
.
removes consecutive white space characters from the side specified by
newStr
= strip(str
,side
)side
.
strips the character specified by newStr
= strip(___,stripCharacter
)stripCharacter
. You can use any of
the input arguments in the previous syntaxes.
Note
The strip
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