FileToString -- read whole file into a string (V5.0)
s$, len = FileToString(file$)
This command is a convenience function which simply reads the specified file into memory and returns it as a string. The second return value contains the file length in bytes.
file to read into string
contents of the specified file as a string
length of the file in bytes