Searches for the first occurrence of substring IN2 within string IN1 and writes the 1-based starting character index (0 if not found) to the target INT variable.
FIND locates src2 (IN2) inside src1 (IN1):
IN2 is found, the target variable receives its 1-based starting position (1, 2, ...).IN2 is not present in IN1, the target variable receives 0.INT variable, source string (IN1), and search substring (IN2).from automation_machine import ActionQualifier, ActionInstruction
step.add_action("delim_pos", "Find delimiter index", qualifier=ActionQualifier.P, instruction=ActionInstruction.FIND, src1="barcode", src2='"-"')
INT variable receiving the 1-based positionActionQualifier.P (Pulse)ActionInstruction.FINDIN1) — String to search within (STRING variable or literal)IN2) — Substring to search for (STRING variable or literal)