Hi
I am new to Scripting in UltraEdit. Here my problem: I have a huge file where I need to change some formating. As an example, consider the following 2 records (all the records are aligned in columns):
200701277 2007060105191000009781400052448 380J00 1- 1350- 1350-USD 04 000001ZG2 R421 0000000000000010097863321
200701273 2007060110356800009780307275004 29255M 9 3145 3145 USD 01 000001ZL2 R421 0000000000000020097863403
What I want/need is :
1) wherever a minus (-) move it in front of the number
2) add a decimal separator for the last two amounts
The result for the 2 records should be
200701277 2007060105191000009781400052448 380J00 -1 -13.50 -13.50USD 04 000001ZG2 R421 0000000000000010097863321
200701273 2007060110356800009780307275004 29255M 9 31.45 31.45USD 01 000001ZL2 R421 0000000000000020097863403
Can someone help?
Thanks a lot
I am new to Scripting in UltraEdit. Here my problem: I have a huge file where I need to change some formating. As an example, consider the following 2 records (all the records are aligned in columns):
200701277 2007060105191000009781400052448 380J00 1- 1350- 1350-USD 04 000001ZG2 R421 0000000000000010097863321
200701273 2007060110356800009780307275004 29255M 9 3145 3145 USD 01 000001ZL2 R421 0000000000000020097863403
What I want/need is :
1) wherever a minus (-) move it in front of the number
2) add a decimal separator for the last two amounts
The result for the 2 records should be
200701277 2007060105191000009781400052448 380J00 -1 -13.50 -13.50USD 04 000001ZG2 R421 0000000000000010097863321
200701273 2007060110356800009780307275004 29255M 9 31.45 31.45USD 01 000001ZL2 R421 0000000000000020097863403
Can someone help?
Thanks a lot