Extract substring from string
returns the substring of length dest = substr(str,i,n)n starting at the
i-th character of string str. Use
zero-based indexing.
Note
The operator substr is supported only in Stateflow® charts that use C as the action language.
Use zero-based indexing.
Enclose literal strings with single or double quotes.