Main Content
strip
Remove leading and trailing characters from string in Requirements Table block
Since R2022b
Description
removes consecutive whitespace characters from the beginning and end of the string
newStr
= strip(str
)str
. Use this operator in the Requirements
Table block.
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.
Examples
Input Arguments
Output Arguments
Limitations
This operator does not support the use of
Simulink.Bus
object fields.
Version History
Introduced in R2022b