Adding Leading Zeros
Breanna_28
Forums
Good afternoon,
I am trying to add leading zeros to a character field and want all values in the field to have a character length of 9. For example, I would like 1234B11 to be 001234B11. Is there any easy way to do this within the Equation Editor window?
Thanks!
@compif(@len(Field)==7;"00"
@compif(@len(Field)==7;"00"+Field;@len(Field)==8;"0"+Field; [...])