Author: KP1125
Subject: Remove junk values in a file and rite only the characters
Posted: Wed Jan 25, 2017 9:58 pm (GMT 5.5)
I executed an query and the output is copied to output file but their are junk values copied. I want to remove the junk characters and copy only text
Input file :
************
ARM........
UNIT.......
ARM........
OL........
Expected output file:
*******************
ARM
UNIT
ARM
OL
I tried many options but could not remove it completely as the query output is not of fixed length.
Advice how can we do it for variable length field.[/code]
Subject: Remove junk values in a file and rite only the characters
Posted: Wed Jan 25, 2017 9:58 pm (GMT 5.5)
I executed an query and the output is copied to output file but their are junk values copied. I want to remove the junk characters and copy only text
Input file :
************
ARM........
UNIT.......
ARM........
OL........
Expected output file:
*******************
ARM
UNIT
ARM
OL
I tried many options but could not remove it completely as the query output is not of fixed length.
Advice how can we do it for variable length field.[/code]