OCR Programming 15 - 23
Skip Until Not (P0)
This operator skips 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 15-20) that trigger the start
of output
•
t is one or more template characters
The trigger character or literal string is not included in output from a Skip Until Not operator.
Template Incoming data Output
P0A9999 BPN3456 3456
PN1234 1234
5341 No output
Template Incoming data Output
P0"PN"9999 PN3456 3456
5341 No output
PNPN7654 7654
P
0