Truncating records

Pipelines v1.6

 

.* Example by TenFiftyTwo(c).

Home

 
.* The following pipeline reads the file: example.txt and truncates each record after column 50.
 
pipe < &installdrive:\&installpath\Examples\Input\example.txt .* Input file name.
     | chop 50                                                .* Truncate at column 50.
     | cons                                                   .* Display on the console.