Reads a string of characters from the file.


JavaScript - 1.1
Netscape Enterprise Server - 2.0
Property/method value type:String primitive
Argument list:aByteCountRead this many bytes from the file

When you call this method, you need to indicate the length of the string you want to retrieve.

You might use this in a record structured file where the records are all of a fixed length.

See also:File.readByte(), File.readln(), File.write()