For this one, we’re given a list of customer numbers in challenge.dfl (11.2 KB)
like this:
Note that the customer ids are coming in as integer numbers.
Our target system requires customer numbers to come in as strings of length 8 with potential leading zeros.
Any number with more than 8 digits is treated as faulty and should be replaced with nil
.
We’re looking to normalize the customer numbers so they look like this: