Hi,
I my case I have tab delimited text file in that i want to change the 2nd field value and convert the tab/spaces to pipe delimted CSV file.
I have conversion list, if 1 in 2nd field to be replaced with 101000011, if 3 then 101000033 and so on.
dot(.) for display of tab delimited, they are not in text file.
Tab-Delimited Text File
2xxxxxxxxx17 ...1........ xxxxxxxxxxxxxxxxxxxxxxxx.......0000029961104599xxxx1220J.....1PU1366512....000000071800002
2yyyyyyyyy17....3.........xxxxxxxxxxxxxxxxxxxxxxxx.......0000021991104599xxxxY2014.....2180000000.....016420000264313
Pipe-Delimited Output.csv
2xxxxxxxxx17|101000011|xxxxxxxxxxxxxxxxxxxxxxxx|0000029961104599xxxx1220J|1PU1366512|000000071800002
2yyyyyyyyy17|101000033|xxxxxxxxxxxxxxxxxxxxxxxx|0000021991104599xxxxY2014|2180000000|016420000264313