Extract substring from input string signal
Simulink / String
The Substring block extracts a substring from the input string signal. The
block extracts the substring starting from the letter corresponding to
idx and includes a len number of
characters starting at idx. For example, if the input string is
"hello 123"
, input idx is
1
, and input len is 5
,
the output is "hello"
. The block extracts a substring starting at
1
and the next 4 characters for a total of 5 characters
(hello
).
Data Types |
|
Direct Feedthrough |
|
Multidimensional Signals |
|
Variable-Size Signals |
|
Zero-Crossing Detection |
|
ASCII to String | Compose String | Scan String | String Compare | String Concatenate | String Constant | String Find | String Length | String to ASCII | String to Double | String to Enum | String to Single | To String