Removes L characters from string IN starting at 1-based position P and writes the remaining string to the target STRING variable.
DELETE excises length (L) characters from src (IN) starting at character index pos (P, where 1 is the first character) and stores the shortened string in the target variable.
STRING variable, source string (IN), character count (L), and starting position (P).from automation_machine import ActionQualifier, ActionInstruction
step.add_action("cmd_queue", "Remove completed head command", qualifier=ActionQualifier.P, instruction=ActionInstruction.DELETE, src="cmd_queue", length="1", pos="1")
STRING variableActionQualifier.P (Pulse)ActionInstruction.DELETEIN) — Source STRING variable or literalL) — Number of characters to delete (INT variable or literal)P) — 1-based starting character position (INT variable or literal)