Function FReadStr() Foundation
Reads a character string from a file stopping at an occurrence of Chr(0).
FReadStr( <nHandle>, <nBytes> ) --> cString
FReadStr() returns the character string read from the file. If a read error occurs or if the end of the file is reached, a null string ("") is returned.
The low level file function FReadStr() reads characters from a file into a memory variable. A maximum of <nBytes> characters are read starting at the current file pointer position. The file pointer is moved forward <nBytes>. FReadStr() differs from the function FRead() in that the memory variable which accepts the character string from the file does not need to be initialized. Also, FReadStr() terminates the read process if it reaches an ASCII character null (Chr(0)) in the file.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.