FIND – Find substring
Block SymbolLicensing group: STANDARD
Function Description
The FIND block searches for the string su2 in the string su1. If su2 is found, the index of the
first occurrence of su2 in su1 (counted from one) is returned in the output pos. If su2 is not
found, zero is returned in the output pos and an error is indicated in the output iE. Both
input strings are truncated to the length nmax.
This block propagates the signal quality. More information can be found in the 1.4 section.
Input
su1 | String input value | String |
su2 | String input value | String |
Parameter
nmax | Allocated size of string 0 65520 | Long (I32) |
Output
pos | Position of substring | Long (I32) |
iE | Error code | Error |
[Previous] [Back to top] [Up] [Next]
2024 © REX Controls s.r.o., www.rexygen.com