readString
readString(length: Integer): String;
The readString method of the File class returns a string containing the number of characters specified in the length parameter from the file.
An empty string is returned when the end of file has been reached.
The readString method automatically opens the file if it is not already open.
This method is valid only for files that are opened as text files. An exception is raised if the readString method is attempted on a binary file.
If an ANSI version of JADE reads from a Unicode file, the string is automatically converted from Unicode to ANSI before it is returned. If a Unicode version of JADE reads from an ANSI file, the string is automatically converted from ANSI to Unicode before it is returned.
The maximum size of data that can be read by the readString method when the value of the FileNode class usePresentationFileSystem property is set to true is 2G bytes.
If this limit is exceeded, exception