Read entire file
Reading an entire file as a string, can be achieved with the FileHandle.slurp() method, as illustrated bellow:
Starting with version 2.30, File.read() can do the same:
Last updated
Reading an entire file as a string, can be achieved with the FileHandle.slurp() method, as illustrated bellow:
Starting with version 2.30, File.read() can do the same:
Last updated