Dear All,

Stata's manual mentions that:

fget(fh) is for reading text files; the next line from the file is returned, without end-of-line characters. (If the line
is longer then 32,768 characters, the first 32,768 characters are returned.)

fgetnl(fh) is much the same as fget(), except that the new-line characters are not removed from the returned result. (If
the line is longer then 32,768 characters, the first 32,768 characters are returned.)


Is there any way to reliably determine if this trimming of content has actually occurred during the reading?

Thank you, Sergiy