as you can see i have two fields $1 and $2 . I have two questions
1) in $1 (the amount field in my case), i would like to remove the leading zero's (regardless of how many there are) I realise that this will make the file no longer a fixed length file but that is no problem, as its being used for a mail merge.
2) on a slightly different note, on $2 (the outstanding balance field in my case) I need to remove the leading zeros, unless the value (as above) is actually at zero, as obviously removing the leading zeros from 000000.00 doesnt really give the desired effect.....i would like it to be the value of just "0" or "0.00" if this is the case.
any pointers or guidance on this would be greatly appreciated
Gary
thanks for that, I havent got it working yet but if i were to organise that onto a single line in a script would it be like this (ps this layout doesnt work hence the post )