MattW_1

Barcode field and validating data of difference lengths

Discussion created by MattW_1 on Apr 6, 2017
Latest reply on Apr 6, 2017 by Johan Hedman

I’m trying to setup a simple barcode validator that verifies the correct barcode is being used. The validation file always contains numbers that are (5) digits in length.

 

When I scan the barcodes some maybe 12 digits in length and some maybe 14 digits in length. For example

025880001007

10025880001004

 

I’m trying to find an easy way to only parse the 5 digits after “25880” "regardless" of the length of data before or after. The Data “25880” isn’t always in the same location. Any Ideas?

 

Thanks!

Outcomes