Hi everyone,
I have a 10 digit alpha numeric field in which I want to pad leading zeros only for numeric values which are less than 10 in the field, not the alphanumeric field, and move it to another variable . See below some examples. How do I do it?
Appreciate help.
Thanks in advance
Surkum
ex if the value in the field = '0112109', then the result value should be '0000112109' (in this case 3 leading zeros should be added to the original 7 digit long
numeric value
if the value in the field = '0504324A' then do nothing and the value should be as it is '0504324A'
I have a 10 digit alpha numeric field in which I want to pad leading zeros only for numeric values which are less than 10 in the field, not the alphanumeric field, and move it to another variable . See below some examples. How do I do it?
Appreciate help.
Thanks in advance
Surkum
ex if the value in the field = '0112109', then the result value should be '0000112109' (in this case 3 leading zeros should be added to the original 7 digit long
numeric value
if the value in the field = '0504324A' then do nothing and the value should be as it is '0504324A'







Comment