Function Block FIND

The Function Block FIND searches a string and returns the position.

Input STR1

Defines the string in which to search.

Input STR2

Defines the string to be searched for.

Output

The output returns the start position of the found string. The start position begins at 1. If no corresponding string is found, the number 0 is returned.