Main Content
endsWith
Description
returns tf
= endsWith(str
,substr
)1
(true
) if the string
str
ends with the substring substr
, and returns
0
(false
) otherwise. Use this operator in the Requirements
Table block.
checks if tf
= endsWith(str
,substr
,IgnoreCase=true)str
ends with 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