Length of the file needs to be considered. For example I have 1055 byte file stored in table of line length 1022.. Table will have 2 records of length 1022, but only 33 byte of second line needs to be considered. In your case, resulting xstring will have 1022*2 length, not 1055.
↧