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