FUNCTION_BLOCK FB_FIND_P

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 at or after character position P and issues an event at the CNF output.