
Bulletin 2755
Single/Dual-Head Enhanced Bar Code Decoders
Product Data
23
Example 8: Stripping Unwanted Characters
Parameter Rule #1 Value
Source A|B
Symbology UPC-A
Symbol Number All
Find String Containing ^( . . . . . . )(. * )
Replace Entire String With \2
Minimum Field Length 0
Alignment Right
Fill Character None
Host Message Field Number 1
This rule allows the number system character (first character) and the next 5
characters (the manufacturer’s identification code) to the dropped when the
data is sent to the host. This technique can be useful in obtaining maximum
throughput, as it helps minimize communication and host program sorting
time.
Example 9: Substituting Characters Within a String
Parameter Rule #1 Value
Source A|B
Symbology Any
Symbol Number All
Find String Containing ( . * )(123)( . * )
Replace Entire String With \1ABC\3
Minimum Field Length 0
Alignment Right
Fill Character None
Host Message Field Number 1
This example will substitute “ABC” for “123” within the string. Note that if
“123” appears more than once within the incoming data, “ABC” will be
substituted only for the last occurrence. For example, “01234567” would
become “0ABC4567”, and “01231237” would become “0123ABC7”.