strtrim
R2026bRemove leading and trailing white space from string in Stateflow chart
Syntax
Description
removes the leading and trailing white space characters from the string
newStr = strtrim(str)str.
Note
The strtrim 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
