>I am trying to read a long string from a .txt file using FGETS, and it is not returning the entire line. Is there a limit of characters that FGETS will return, and if so, is there a way I can get around that? TIA!
>
By default, FGETS() stops at 254 characters. To read more, pass the number of bytes to read as the 2nd parameter.
An alternative approach is to use FileToString() to read the whole file and then break it up with ALINES().
Tamar
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only