Handling barcodes with zeros in front of them

Handling barcodes with zeros in front of them
Readysell has unlimited codes features we can handle multiple codes per product multiple quantities and also inner and outer codes.
Scanner can be set to standard mode or to EAN specifications meaning the will pad codes 7.9.10.12 with leading or trailing zeros to Australian standards 13 characters.
 
Readysell can be configured to accept bar codes with any number of leading or trailing zeros. We have tested this with a store running the Readysell program on their system and confirmed with them that all products scanned properly regardless of the incorrect zeros in the bar code.
The rules are as follows:-
-          If a scanned bar code scanned exactly matches a bar code on file accept the bar code,
-          Otherwise, for any barcode greater or equal to ten characters in length. If the ten characters entered can be found anywhere in any bar code then the system will accept the bar code.
 
 
For example
Barcode            Scanned                                        Result
1234567890      1234567890                                  Matches, exact
1234567890      01234567890                                Matches, Ignore leading and trailing zeros
1234567890      001234567890                              Matches, Ignore leading and trailing zeros
1234567890      000000001234567890                Matches, Ignore leading and trailing zeros
1234567890      0000000012345678900000       Matches, Ignore leading and trailing zeros
1234567            1234567                                          Matches, exact
1234567            01234567                                        Fails, Bar code less than 10 characters long.
So do not ignore leading and trailing zeros.