omron — $UNPACK string function

$UNPACK string function right-most array index is incremented to locate the substring. Thus, for example, element [2,3] is followed by element [2,4]. Example The instruction below sets the value of the string variable $substring equal to a substring extracted from the string array $list[]. The substring is specified as starting in element $list [3]. However, because the first character is to be number 130, the 11-character substring actually consists of the second through 12th characters of $list[4]: $substring = $UNPACK($list[3], 130, 11) Related Keywords $MID string function PACK program instruction eV+Language Reference Guide, v2.x, 18319-000 Rev A Page 554