FUNCTION_BLOCK FB_FIND

Upon the occurrence of an event at the REQ input, an instance of this FB type sets the OUT value to the position of the first character of the first occurrence of the value of the IN2 input in the IN1 input and issues an event at the CNF output.