varible length list of numbers to insert spaces before
Posted: Mon Sep 15, 2003 3:40 pm
I have a list of numbers (3000 records) below which i need to convert by adding a number of spaces before the fisrt character so the list is 10 characters in length after the find and replace:
23.00
-345.45
9.00
12344.67
for example : the number 23.00, is 5 characters and I need to insert before the 23.00 5 spaces, if it is 4 characters, e.g. 9.00 i need to insert 6 spaces, if 7 characters, -345.45 then 3 and so on...
Thanks in advance
23.00
-345.45
9.00
12344.67
for example : the number 23.00, is 5 characters and I need to insert before the 23.00 5 spaces, if it is 4 characters, e.g. 9.00 i need to insert 6 spaces, if 7 characters, -345.45 then 3 and so on...
Thanks in advance