|
-
March 11th, 2008, 01:20 PM
#1
Conditionally inserting lead zeros
I've searched through the forums, but can't find an answer specifically to what the results I'm trying to return.
The data in each column I'm returning is of varying lengths, i.e.:
123
1234
12345
I need to return results that conform to a set character length; let's say 10 characters total, i.e.:
0000000123
0000001234
0000012345
I've tried replicatestring, but that returns a set amount of whichever value you insert into the formlua, while I need it to conform to the result.
Any help would be GREATLY appreciated.
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|