contains
Description
returns tf
= contains(str
,substr
)1
(true
) if the string
str
contains the substring substr
, and returns
0
(false
) otherwise. Use this operator in the Requirements
Table block.
checks if tf
= contains(str
,substr
,IgnoreCase=true)str
contains substr
, ignoring any
differences in letter case.
Examples
Input Arguments
Limitations
This operator does not support the use of
Simulink.Bus
object fields.
Version History
Introduced in R2022b