G
Guest
I have a problem where I cannot control the format of the
data I recieve. Some of the data comes to me with the
leading zero's dropped. i.e. intead of 000352 I get 352
or 007892 comes as 7892. The # of characters varies, 7 is
the max it should have to as few as 1 may be reported .
they all should be 9 characters to work correctly for
what I am doing. How can I restore the leading zeros when
the # of charcters varies from recored to record?
123 should be 0000123
3521 should be 0003521
69871 should be 0069871
data I recieve. Some of the data comes to me with the
leading zero's dropped. i.e. intead of 000352 I get 352
or 007892 comes as 7892. The # of characters varies, 7 is
the max it should have to as few as 1 may be reported .
they all should be 9 characters to work correctly for
what I am doing. How can I restore the leading zeros when
the # of charcters varies from recored to record?
123 should be 0000123
3521 should be 0003521
69871 should be 0069871