The trigger character or literal string is included in output from a Skip Until operator, and the first character in the
template should accommodate this trigger.
Template
P1"PN"AA999
Skip Until Not (P0)
P
This operator allows skipping over characters until a specific character type or a literal string is not matched in the
output stream. It can be used in two ways:
P0ct
Where:
•
P0 is the Skip Until Not operator
•
c is the type of character that triggers the start of output
•
t is one or more template characters
P0"s"t
Where:
•
P0 is the Skip Until Not operator
•
"s" is one or more literal string characters (see Literal String (" and +) on page 14-20) that trigger the start
of output
•
t is one or more template characters
Incoming data
123PN9876
PN1234
X-PN3592
OCR Programming 14 - 23
Output
PN9876
PN1234
PN3592
0