Issue is that the fields (or cell data) may contain many white spaces. So if that is the case, even if the column lengths are fixed length, then also, deriving data will not be that easy.
Are you saying that even the data inside different cells/columns will have fixed-lenght data?
main issu eis that even data part is not having fixed length, because report that i recv is human readable format how can i make it machine readable form that is my challenge.
is it possible if can count number of character between each column and on the basis of that i can retirve data
Well that is going to be difficult :(... What is the source of your data? Is it again generated by another script?
Difficult with such data file is that the content are free flowing. For such, there will always be a chance of data inconsistencies in the output even if we manage to write some script to parse this data file.
If you have the script which gives you this data file as input, then I will suggest making amends in that script itself... atleast make some provision that the data you receive are properly enclosed in single/double quotes.
yes you can retrieve the last 4 columns from delimitted file.
We can indeed count the length of column and then retrieve data. But on basis of which you will take the length of the column? Will the Header will form the base for the length of the data under them? If that is the case, then things can be easier for u... But u urself said that the data under each header/column will not have fixed length. So again, things will be difficult.