Removing trailing spaces from delimited files...
Chris Sharman
Chris.Sharman@ccagroup.co.uk
Mon, 20 Nov 2000 15:58:53 +0000
>This example is what I am after:
>
>LAMR123123;TEST DATA DESCRIPTION;100.32;--A;M
>MN234234;WELDER,GREEN,200AMP;2310.23;--B;M
def line char*80 = truncate(product)+";"+truncate(descrip)+";"+&
truncate(val)+...
rep tab 1 line
There's no cleverer way, I'm afraid.
Quiz truncates report lines on the right.
If you have the formatnumber function (VMS 7.10 or thereabouts), that will help
with formatting numeric items.
Chris
_______________________________________________________________________
Chris.Sharman@CCAgroup.co.uk http://www.ccagroup.co.uk/
CCA Stationery Ltd, Eastway, Fulwood, Preston, Lancashire, PR2 9WS.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.